summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2013-11-25 14:40:20 -0800
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-11-25 14:40:20 -0800
commitd19954eb94afb27ca90b3bbcfb9eecec5e85428a (patch)
treeb5b1f8e77afecdc7f4a5f7b6ea8c9751a552bb70 /test/files/run
parent554f1bbf91084cb501584971f2c90809c819c0a5 (diff)
parent66577fa6ec07de9769150019deeafb25a1e5422a (diff)
downloadscala-d19954eb94afb27ca90b3bbcfb9eecec5e85428a.tar.gz
scala-d19954eb94afb27ca90b3bbcfb9eecec5e85428a.tar.bz2
scala-d19954eb94afb27ca90b3bbcfb9eecec5e85428a.zip
Merge pull request #3183 from xeno-by/topic/pure-expression-does-nothing
SI-8001 spurious "pure expression does nothing" warning
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/macro-system-properties.check6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/files/run/macro-system-properties.check b/test/files/run/macro-system-properties.check
index b102d319ec..ea4c5a664a 100644
--- a/test/files/run/macro-system-properties.check
+++ b/test/files/run/macro-system-properties.check
@@ -14,15 +14,9 @@ scala> object GrabContext {
defined object GrabContext
scala> object Test { class C(implicit a: Any) { GrabContext.grab } }
-<console>:12: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
- object Test { class C(implicit a: Any) { GrabContext.grab } }
- ^
defined object Test
scala> object Test { class C(implicit a: Any) { GrabContext.grab } }
-<console>:12: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
- object Test { class C(implicit a: Any) { GrabContext.grab } }
- ^
defined object Test
scala>