diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-05-26 13:19:43 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-05-26 13:19:43 +0200 |
commit | e727001ef3b63e7ff2bd521e33fc363e349b2ac0 (patch) | |
tree | 85461807634ba5664dfb5f52d818bb2f2ec8cf07 /test/files/pos | |
parent | b53b71c100067f210a0f3bb4a6cbedee75e697dd (diff) | |
download | scala-e727001ef3b63e7ff2bd521e33fc363e349b2ac0.tar.gz scala-e727001ef3b63e7ff2bd521e33fc363e349b2ac0.tar.bz2 scala-e727001ef3b63e7ff2bd521e33fc363e349b2ac0.zip |
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(_) => } +} |