Skip to content

Commit c8afd79

Browse files
committed
Disable -Ycheck:labelDefs
Disable the check because if fails for desugar.scala and also in some dotty files. This test failed before the addition of NonLocalReturns.
1 parent ac226f2 commit c8afd79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dotc/tests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class tests extends CompilerTest {
2424
"-Yno-deep-subtypes", "-Yno-double-bindings",
2525
"-d", defaultOutputDir) ++ {
2626
if (isRunByJenkins) List("-Ycheck:-Ycheck:tailrec,resolveSuper,mixin,restoreScopes,labelDef") // should be Ycheck:all, but #725
27-
else List("-Ycheck:tailrec,resolveSuper,mixin,restoreScopes,labelDef")
27+
else List("-Ycheck:tailrec,resolveSuper,mixin,restoreScopes")
2828
}
2929

3030

0 commit comments

Comments
 (0)