File tree 1 file changed +3
-3
lines changed
src/test/scala/scala/async/run 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class WarningsSpec {
34
34
@ Test
35
35
// https://github.com/scala/async/issues/74
36
36
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 " )
38
38
// was: "a pure expression does nothing in statement position; you may be omitting necessary parentheses"
39
39
val source =
40
40
"""
@@ -51,8 +51,8 @@ class WarningsSpec {
51
51
}
52
52
53
53
@ 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 " )
56
56
val source = """
57
57
| class Test {
58
58
| def test = {
You can’t perform that action at this time.
0 commit comments