We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3dfa73 commit d6b9223Copy full SHA for d6b9223
tests/run-staging/i7142.scala
@@ -8,6 +8,6 @@ object Test {
8
try run {returning('{ { (x: Int) => ${ throwReturn('x) }} apply 0 })}
9
catch {
10
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)
+ assert(ex.getMessage == "While expanding a macro, a reference to parameter x was used outside the scope where it was defined", ex.getMessage)
12
}
13
0 commit comments