File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/scala/scala/async/run Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class WarningsSpec {
3434 @ Test
3535 // https://github.com/scala/async/issues/74
3636 def noDeadCodeWarningForAsyncThrow () {
37- val global = mkGlobal(" -cp ${toolboxClasspath} -Yrangepos -Ywarn-dead-code -Xfatal-warnings" )
37+ val global = mkGlobal(" -cp ${toolboxClasspath} -Yrangepos -Ywarn-dead-code -Xfatal-warnings -Ystop-after:refchecks " )
3838 // was: "a pure expression does nothing in statement position; you may be omitting necessary parentheses"
3939 val source =
4040 """
@@ -51,8 +51,8 @@ class WarningsSpec {
5151 }
5252
5353 @ Test
54- def noDeadCodeWarning () {
55- val global = mkGlobal(" -cp ${toolboxClasspath} -Yrangepos -Ywarn-dead-code -Xfatal-warnings" )
54+ def noDeadCodeWarningInMacroExpansion () {
55+ val global = mkGlobal(" -cp ${toolboxClasspath} -Yrangepos -Ywarn-dead-code -Xfatal-warnings -Ystop-after:refchecks " )
5656 val source = """
5757 | class Test {
5858 | def test = {
You can’t perform that action at this time.
0 commit comments