summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)