summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJosh Suereth <Joshua.Suereth@gmail.com>2012-07-21 06:48:23 -0700
committerJosh Suereth <Joshua.Suereth@gmail.com>2012-07-21 06:48:23 -0700
commitfa4c1de6e7dc5e5703ccf822c5815da9e8ae47ed (patch)
treee68598cc3e9209e829b5e4a735b8f73b9a73dcde /test
parent31f60292c9c03b1c0347b3cfbd0fefdecdf83e79 (diff)
parent6015a54812a5003933da7924f74ac8bde3adfdff (diff)
downloadscala-fa4c1de6e7dc5e5703ccf822c5815da9e8ae47ed.tar.gz
scala-fa4c1de6e7dc5e5703ccf822c5815da9e8ae47ed.tar.bz2
scala-fa4c1de6e7dc5e5703ccf822c5815da9e8ae47ed.zip
Merge pull request #958 from adriaanm/ticket-1832
SI-1832 consistent symbols in casedef's pattern&body
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/t1832.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t1832.scala b/test/files/pos/t1832.scala
new file mode 100644
index 0000000000..c7b1ffb838
--- /dev/null
+++ b/test/files/pos/t1832.scala
@@ -0,0 +1,8 @@
+trait Cloning {
+ trait Foo
+ def fn(g: Any => Unit): Foo
+
+ implicit def mkStar(i: Int) = new { def *(a: Foo): Foo = null }
+
+ val pool = 4 * fn { case ghostSYMBOL: Int => ghostSYMBOL * 2 }
+} \ No newline at end of file