I'm a little confused about the location of the te...
# compiler
i
I'm a little confused about the location of the test files,
FirLightTreeDiagnosticsTestGenerated
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?
d
Tests in
compiler/testData/diagnostics/
run both for K1 and K2 Tests in
compiler/fir/analysis-tests/testData
run only for K2
Is the former(i.e.
FirLightTreeDiagnosticsTestGenerated
) specifically for K2 frontend and the latter for old frontend test files?
Yes
FirLightTreeOldFrontendDiagnosticsTestGenerated
is just a name for K2 tests over testdata which was originally used for K1 Semantically
FirLightTreeOldFrontendDiagnosticsTestGenerated
and
FirLightTreeDiagnosticsTestGenerated
do the same thing
gratitude thank you 1