diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-09-29 13:21:44 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-09-29 13:21:44 +1000 |
commit | b81d2b21a70cfd23fe343ff0e58a9db83548b395 (patch) | |
tree | 22e914ea43b07dcb2524d135bd2934970ba465b6 /test/files/neg/t8127a.check | |
parent | 27da46343cd545534819300235bc64ab74958c92 (diff) | |
parent | 3b396884e6c153588ba25123d82eb4ed703fd844 (diff) | |
download | scala-b81d2b21a70cfd23fe343ff0e58a9db83548b395.tar.gz scala-b81d2b21a70cfd23fe343ff0e58a9db83548b395.tar.bz2 scala-b81d2b21a70cfd23fe343ff0e58a9db83548b395.zip |
Merge pull request #4720 from retronym/ticket/9029
SI-9029 Fix regression in extractor patterns
Diffstat (limited to 'test/files/neg/t8127a.check')
-rw-r--r-- | test/files/neg/t8127a.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t8127a.check b/test/files/neg/t8127a.check new file mode 100644 index 0000000000..5a30574861 --- /dev/null +++ b/test/files/neg/t8127a.check @@ -0,0 +1,4 @@ +t8127a.scala:7: error: The result type of an unapplySeq method must contain a member `get` to be used as an extractor pattern, no such member exists in Seq[_$1] + case H(v) => + ^ +one error found |