diff options
author | Paul Phillips <paulp@improving.org> | 2009-02-09 12:25:40 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-02-09 12:25:40 +0000 |
commit | a6340e3280a6e526b5b7ca5b2b9ed144f47fe29c (patch) | |
tree | fc9fc39c489005f0b71b494b903dca5c0d86d399 | |
parent | 16e159d17efad279b7cb6c7d5d44df471e13423e (diff) | |
download | scala-a6340e3280a6e526b5b7ca5b2b9ed144f47fe29c.tar.gz scala-a6340e3280a6e526b5b7ca5b2b9ed144f47fe29c.tar.bz2 scala-a6340e3280a6e526b5b7ca5b2b9ed144f47fe29c.zip |
existential error message changed to agree with...
existential error message changed to agree with SLS: bug #480
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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) |