summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-02-09 12:25:40 +0000
committerPaul Phillips <paulp@improving.org>2009-02-09 12:25:40 +0000
commita6340e3280a6e526b5b7ca5b2b9ed144f47fe29c (patch)
treefc9fc39c489005f0b71b494b903dca5c0d86d399 /src
parent16e159d17efad279b7cb6c7d5d44df471e13423e (diff)
downloadscala-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
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/ast/parser/Parsers.scala2
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)