diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-05-26 07:51:00 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-05-26 07:51:00 -0700 |
commit | 454674c38a58322ab2e55624b8967a46337aeabf (patch) | |
tree | 1dbd9be1839410a87ed07a1c96e73fb2e34632f3 /test/files/pos | |
parent | 21a9d21941e41682de179027c047966bb0a35c8d (diff) | |
parent | e727001ef3b63e7ff2bd521e33fc363e349b2ac0 (diff) | |
download | scala-454674c38a58322ab2e55624b8967a46337aeabf.tar.gz scala-454674c38a58322ab2e55624b8967a46337aeabf.tar.bz2 scala-454674c38a58322ab2e55624b8967a46337aeabf.zip |
Merge pull request #630 from retronym/ticket/5041
Test case closes SI-5041.
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t5041.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/pos/t5041.scala b/test/files/pos/t5041.scala new file mode 100644 index 0000000000..78a1b27d5a --- /dev/null +++ b/test/files/pos/t5041.scala @@ -0,0 +1,9 @@ +case class Token(text: String, startIndex: Int) + +object Comment { + def unapply(s: String): Option[Token] = None +} + +object HiddenTokens { + "foo" match { case Comment(_) => } +} |