summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-02-18 19:59:28 +0000
committerPaul Phillips <paulp@improving.org>2009-02-18 19:59:28 +0000
commit36b0e8178f74a2986bce5c9027b9a2b22a4e7527 (patch)
tree2f9722a329ecc0f8745e66407f95824de71e02d3 /test/files/neg
parent0e04072c89052a6fc296b77df64f6501c36d0c92 (diff)
downloadscala-36b0e8178f74a2986bce5c9027b9a2b22a4e7527.tar.gz
scala-36b0e8178f74a2986bce5c9027b9a2b22a4e7527.tar.bz2
scala-36b0e8178f74a2986bce5c9027b9a2b22a4e7527.zip
Fix and test case for #1565; an anonymous funct...
Fix and test case for #1565; an anonymous function can now be used as a statement (primarily for use in the interpreter) unless it cannot be distinguished from a self-type declaration.
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/xmltruncated6.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/xmltruncated6.check b/test/files/neg/xmltruncated6.check
index 6123114560..f638f2f090 100644
--- a/test/files/neg/xmltruncated6.check
+++ b/test/files/neg/xmltruncated6.check
@@ -1,4 +1,4 @@
-xmltruncated6.scala:2: error: ';' expected but eof found.
+xmltruncated6.scala:2: error: in XML literal: expected end of Scala block
val stuff = <a>{ "no closing brace"
^
one error found