Skip to content

Commit d6b9223

Browse files
committed
Fix test
1 parent f3dfa73 commit d6b9223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-staging/i7142.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ object Test {
88
try run {returning('{ { (x: Int) => ${ throwReturn('x) }} apply 0 })}
99
catch {
1010
case ex: dotty.tools.dotc.reporting.Diagnostic.Error =>
11-
assert(ex.getMessage == "While expanding a macro, a reference to value x was used outside the scope where it was defined", ex.getMessage)
11+
assert(ex.getMessage == "While expanding a macro, a reference to parameter x was used outside the scope where it was defined", ex.getMessage)
1212
}
1313
}

0 commit comments

Comments
 (0)