diff options
author | Adriaan Moors <adriaan@lightbend.com> | 2016-08-14 22:08:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-14 22:08:32 -0700 |
commit | 99f8b285e5533c95b7e80bdf670f594b01328f70 (patch) | |
tree | 937af91b52432da2d00cb8b3367dfe2c23014d4a /test/files/run/delay-bad.check | |
parent | 391d954fc112f8aea55b471f82e40b888983ca95 (diff) | |
parent | f805cf526abb4343990ed31db6c63436d6fe4fde (diff) | |
download | scala-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/delay-bad.check')
-rw-r--r-- | test/files/run/delay-bad.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/delay-bad.check b/test/files/run/delay-bad.check index fcd05c827f..bf41c79a3a 100644 --- a/test/files/run/delay-bad.check +++ b/test/files/run/delay-bad.check @@ -1,7 +1,7 @@ -delay-bad.scala:53: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses +delay-bad.scala:53: warning: a pure expression does nothing in statement position; multiline expressions may require enclosing parentheses f(new C { 5 }) ^ -delay-bad.scala:73: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses +delay-bad.scala:73: warning: a pure expression does nothing in statement position; multiline expressions may require enclosing parentheses f(new { val x = 5 } with E() { 5 }) ^ warning: there was one deprecation warning (since 2.11.0); re-run with -deprecation for details |