diff options
author | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-07-21 06:48:23 -0700 |
---|---|---|
committer | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-07-21 06:48:23 -0700 |
commit | fa4c1de6e7dc5e5703ccf822c5815da9e8ae47ed (patch) | |
tree | e68598cc3e9209e829b5e4a735b8f73b9a73dcde /test/files/pos/t1832.scala | |
parent | 31f60292c9c03b1c0347b3cfbd0fefdecdf83e79 (diff) | |
parent | 6015a54812a5003933da7924f74ac8bde3adfdff (diff) | |
download | scala-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/files/pos/t1832.scala')
-rw-r--r-- | test/files/pos/t1832.scala | 8 |
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 |