@@ -44,7 +44,7 @@ class CompilationTests {
44
44
compileFilesInDir(" tests/pos-custom-args/captures" , defaultOptions.and(" -language:experimental.captureChecking" )),
45
45
compileFilesInDir(" tests/pos-custom-args/erased" , defaultOptions.and(" -language:experimental.erasedDefinitions" )),
46
46
compileFilesInDir(" tests/pos" , defaultOptions.and(" -Ysafe-init" )),
47
- // Run tests for experimental lightweight lazy vals
47
+ // Run tests for legacy lazy vals
48
48
compileFilesInDir(" tests/pos" , defaultOptions.and(" -Ysafe-init" , " -Ylegacy-lazy-vals" , " -Ycheck-constraint-deps" ), FileFilter .include(TestSources .posLazyValsAllowlist)),
49
49
compileFilesInDir(" tests/pos-deep-subtype" , allowDeepSubtypes),
50
50
compileFilesInDir(" tests/pos-custom-args/no-experimental" , defaultOptions.and(" -Yno-experimental" )),
@@ -212,7 +212,7 @@ class CompilationTests {
212
212
compileFilesInDir(" tests/run-custom-args/captures" , allowDeepSubtypes.and(" -language:experimental.captureChecking" )),
213
213
compileFilesInDir(" tests/run-deep-subtype" , allowDeepSubtypes),
214
214
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.
216
216
compileFilesInDir(" tests/run" , defaultOptions.and(" -Ysafe-init" , " -Ylegacy-lazy-vals" , " -Ycheck-constraint-deps" ), FileFilter .include(TestSources .runLazyValsAllowlist)),
217
217
).checkRuns()
218
218
}
0 commit comments