summaryrefslogtreecommitdiff
path: root/test/files/neg/scopes.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/scopes.check')
-rw-r--r--test/files/neg/scopes.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/scopes.check b/test/files/neg/scopes.check
index f8e8c3758a..2db9678185 100644
--- a/test/files/neg/scopes.check
+++ b/test/files/neg/scopes.check
@@ -7,7 +7,7 @@ scopes.scala:5: error: x is already defined as value x
scopes.scala:8: error: y is already defined as value y
val y: Float = .0f
^
-scopes.scala:6: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
+scopes.scala:6: warning: a pure expression does nothing in statement position; multiline expressions may require enclosing parentheses
{
^
scopes.scala:11: error: x is already defined as value x