From a6340e3280a6e526b5b7ca5b2b9ed144f47fe29c Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 9 Feb 2009 12:25:40 +0000 Subject: existential error message changed to agree with... existential error message changed to agree with SLS: bug #480 --- src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala index 67deaf0392..e8c6e23283 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -749,7 +749,7 @@ trait Parsers extends NewScanners with MarkupParsers { case TypeDef(_, _, _, TypeBoundsTree(_, _)) | ValDef(_, _, _, EmptyTree) | EmptyTree => ; case _ => - syntaxError(wc.pos, "not a legal where clause", false) + syntaxError(wc.pos, "not a legal existential clause", false) } } ExistentialTypeTree(t, whereClauses) -- cgit v1.2.3