diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-07-20 01:49:36 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-07-20 01:49:36 -0700 |
commit | 314133f98118d6d2f9f515fcc5aa7a2e7e9a4559 (patch) | |
tree | 12f743d8432e107af1055d0670f5bc067ce3a215 /test/files/neg | |
parent | a8bd1e25b9fe32a8eff2f51ee3bfa527440beb84 (diff) | |
parent | c2aa17a72afa3dbc3a6c967b2fc8ade0a5a34637 (diff) | |
download | scala-314133f98118d6d2f9f515fcc5aa7a2e7e9a4559.tar.gz scala-314133f98118d6d2f9f515fcc5aa7a2e7e9a4559.tar.bz2 scala-314133f98118d6d2f9f515fcc5aa7a2e7e9a4559.zip |
Merge pull request #937 from adriaanm/ticket-5739
SI-5739 store sub-patterns in local vals
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/t4425.check | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/files/neg/t4425.check b/test/files/neg/t4425.check index 0f2fe6f2d1..a6a1a1fad4 100644 --- a/test/files/neg/t4425.check +++ b/test/files/neg/t4425.check @@ -1,4 +1,5 @@ -t4425.scala:3: error: isInstanceOf cannot test if value types are references. +t4425.scala:3: error: error during expansion of this match (this is a scalac bug). +The underlying error was: value _1 is not a member of object Foo.X 42 match { case _ X _ => () } - ^ + ^ one error found |