summaryrefslogtreecommitdiff
path: root/test/files/run/t4047.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan@lightbend.com>2016-08-14 22:08:32 -0700
committerGitHub <noreply@github.com>2016-08-14 22:08:32 -0700
commit99f8b285e5533c95b7e80bdf670f594b01328f70 (patch)
tree937af91b52432da2d00cb8b3367dfe2c23014d4a /test/files/run/t4047.check
parent391d954fc112f8aea55b471f82e40b888983ca95 (diff)
parentf805cf526abb4343990ed31db6c63436d6fe4fde (diff)
downloadscala-99f8b285e5533c95b7e80bdf670f594b01328f70.tar.gz
scala-99f8b285e5533c95b7e80bdf670f594b01328f70.tar.bz2
scala-99f8b285e5533c95b7e80bdf670f594b01328f70.zip
Merge pull request #5266 from som-snytt/issue/9847
SI-9847 Nuance pure expr statement warning
Diffstat (limited to 'test/files/run/t4047.check')
-rw-r--r--test/files/run/t4047.check8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/run/t4047.check b/test/files/run/t4047.check
index 3c41e6e244..c31f2f0858 100644
--- a/test/files/run/t4047.check
+++ b/test/files/run/t4047.check
@@ -1,13 +1,13 @@
-t4047.scala:23: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
+t4047.scala:23: warning: a pure expression does nothing in statement position; multiline expressions may require enclosing parentheses
a.foo
^
-t4047.scala:24: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
+t4047.scala:24: warning: a pure expression does nothing in statement position; multiline expressions may require enclosing parentheses
a.foo
^
-t4047.scala:26: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
+t4047.scala:26: warning: a pure expression does nothing in statement position; multiline expressions may require enclosing parentheses
b.foo
^
-t4047.scala:27: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
+t4047.scala:27: warning: a pure expression does nothing in statement position; multiline expressions may require enclosing parentheses
b.foo
^
Unit: called A.foo