@@ -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" )),
@@ -213,7 +213,7 @@ class CompilationTests {
213
213
compileFilesInDir(" tests/run-custom-args/captures" , allowDeepSubtypes.and(" -language:experimental.captureChecking" )),
214
214
compileFilesInDir(" tests/run-deep-subtype" , allowDeepSubtypes),
215
215
compileFilesInDir(" tests/run" , defaultOptions.and(" -Ysafe-init" ), FileFilter .exclude(" serialization-new.scala" )),
216
- // Run tests for experimental lightweight lazy vals and stable lazy vals.
216
+ // Run tests for legacy lazy vals.
217
217
compileFilesInDir(" tests/run" , defaultOptions.and(" -Ysafe-init" , " -Ylegacy-lazy-vals" , " -Ycheck-constraint-deps" ), FileFilter .include(TestSources .runLazyValsAllowlist)),
218
218
).checkRuns()
219
219
}
0 commit comments