From 36b0e8178f74a2986bce5c9027b9a2b22a4e7527 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 18 Feb 2009 19:59:28 +0000 Subject: 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. --- test/files/neg/xmltruncated6.check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/neg') 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 = { "no closing brace" ^ one error found -- cgit v1.2.3