@@ -44,7 +44,7 @@ class CompilationTests {
4444 compileFilesInDir(" tests/pos-custom-args/captures" , defaultOptions.and(" -language:experimental.captureChecking" )),
4545 compileFilesInDir(" tests/pos-custom-args/erased" , defaultOptions.and(" -language:experimental.erasedDefinitions" )),
4646 compileFilesInDir(" tests/pos" , defaultOptions.and(" -Ysafe-init" )),
47- // Run tests for experimental lightweight lazy vals
47+ // Run tests for legacy lazy vals
4848 compileFilesInDir(" tests/pos" , defaultOptions.and(" -Ysafe-init" , " -Ylegacy-lazy-vals" , " -Ycheck-constraint-deps" ), FileFilter .include(TestSources .posLazyValsAllowlist)),
4949 compileFilesInDir(" tests/pos-deep-subtype" , allowDeepSubtypes),
5050 compileFilesInDir(" tests/pos-custom-args/no-experimental" , defaultOptions.and(" -Yno-experimental" )),
@@ -212,7 +212,7 @@ class CompilationTests {
212212 compileFilesInDir(" tests/run-custom-args/captures" , allowDeepSubtypes.and(" -language:experimental.captureChecking" )),
213213 compileFilesInDir(" tests/run-deep-subtype" , allowDeepSubtypes),
214214 compileFilesInDir(" tests/run" , defaultOptions.and(" -Ysafe-init" ), FileFilter .exclude(" serialization-new.scala" )),
215- // Run tests for experimental lightweight lazy vals and stable lazy vals.
215+ // Run tests for legacy lazy vals.
216216 compileFilesInDir(" tests/run" , defaultOptions.and(" -Ysafe-init" , " -Ylegacy-lazy-vals" , " -Ycheck-constraint-deps" ), FileFilter .include(TestSources .runLazyValsAllowlist)),
217217 ).checkRuns()
218218 }
0 commit comments