diff options
author | Paul Phillips <paulp@improving.org> | 2011-01-28 15:49:25 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-01-28 15:49:25 +0000 |
commit | 834c065736573b11a1b51111edb032b2d3ca9b14 (patch) | |
tree | ddd13b65f422a59b4fee9467542e6c8cf482c28f /test/files/neg/bug4196.scala | |
parent | fb718ccd5c1264b2816a3bed3138ced0fb2156f1 (diff) | |
download | scala-834c065736573b11a1b51111edb032b2d3ca9b14.tar.gz scala-834c065736573b11a1b51111edb032b2d3ca9b14.tar.bz2 scala-834c065736573b11a1b51111edb032b2d3ca9b14.zip |
A raw tree was making its way into an error mes...
A raw tree was making its way into an error message. Removed. Closes
#4196, no review.
Diffstat (limited to 'test/files/neg/bug4196.scala')
-rw-r--r-- | test/files/neg/bug4196.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/bug4196.scala b/test/files/neg/bug4196.scala new file mode 100644 index 0000000000..06e1f28d54 --- /dev/null +++ b/test/files/neg/bug4196.scala @@ -0,0 +1,6 @@ +object Weird { + { (s: String) => + val foo = Some(s); // to illustrate that vals are printed in the error + foo + }.apply("first param") ("spurious param") +}
\ No newline at end of file |