Icyrockton
08/30/2023, 10:33 AMFirLightTreeDiagnosticsTestGenerated
is generated from compiler/fir/analysis-tests/testData
, while FirLightTreeOldFrontendDiagnosticsTestGenerated
is generated from compiler/testData/diagnostics/
.
Is the former(i.e. FirLightTreeDiagnosticsTestGenerated
) specifically for K2 frontend and the latter for old frontend test files? If I want to learn the type inference processing, should I focus on the test files under compiler/testData/diagnostics/
, which contains more kinds of test files?dmitriy.novozhilov
08/30/2023, 10:48 AMcompiler/testData/diagnostics/
run both for K1 and K2
Tests in compiler/fir/analysis-tests/testData
run only for K2
Is the former(i.e.Yes) specifically for K2 frontend and the latter for old frontend test files?FirLightTreeDiagnosticsTestGenerated
FirLightTreeOldFrontendDiagnosticsTestGenerated
is just a name for K2 tests over testdata which was originally used for K1
Semantically FirLightTreeOldFrontendDiagnosticsTestGenerated
and FirLightTreeDiagnosticsTestGenerated
do the same thing