FIR: add test which checks that we do not access lazy bodies & lazy expressions till contract phase

This commit is contained in:
Ilya Kirillov
2020-10-09 00:42:24 +03:00
parent 7611135a4a
commit dc467f7d6c
4 changed files with 2715 additions and 1 deletions
@@ -610,6 +610,11 @@ fun main(args: Array<String>) {
testClass<AbstractFirDiagnosticsWithLightTreeTest> {
model("resolve", pattern = KT_WITHOUT_DOTS_IN_NAME)
}
testClass<AbstractLazyBodyIsNotTouchedTilContractsPhaseTest> {
model("resolve", pattern = KT_WITHOUT_DOTS_IN_NAME)
}
}
testGroup("compiler/fir/analysis-tests/tests", "compiler/fir/analysis-tests/testData") {