summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2016-03-14 19:17:52 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2016-03-14 19:17:52 -0700
commitd209a377bd73b71cb791f1b262acfe4b20b993c1 (patch)
tree55f100a96e152615502f2885066fd19e1c10017a /test/files/run
parent798462e739f23bb498b72675a57e4cc331404945 (diff)
parente7e1c77092ec0d64a6ecbb8b920d1b4cca74837f (diff)
downloadscala-d209a377bd73b71cb791f1b262acfe4b20b993c1.tar.gz
scala-d209a377bd73b71cb791f1b262acfe4b20b993c1.tar.bz2
scala-d209a377bd73b71cb791f1b262acfe4b20b993c1.zip
Merge pull request #4974 from szeiger/wip/patmat-outertest
More conservative optimization for unnecessary outer ref checks
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/t7171.check3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/t7171.check b/test/files/run/t7171.check
index d826f6cb94..5454142882 100644
--- a/test/files/run/t7171.check
+++ b/test/files/run/t7171.check
@@ -1,3 +1,6 @@
t7171.scala:2: warning: The outer reference in this type test cannot be checked at run time.
final case class A()
^
+t7171.scala:9: warning: The outer reference in this type test cannot be checked at run time.
+ case _: A => true; case _ => false
+ ^