aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/singletons.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/neg/singletons.scala')
-rw-r--r--tests/neg/singletons.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/neg/singletons.scala b/tests/neg/singletons.scala
index 5dff13096..2155bfe31 100644
--- a/tests/neg/singletons.scala
+++ b/tests/neg/singletons.scala
@@ -5,7 +5,7 @@ object Test {
val n: null = null // error: Null is not a legal singleton type
- val sym: 'sym = 'sym // error: Symbol is a legal singleton type
+ val sym: 'sym = 'sym // error: Symbol is not a legal singleton type
val foo: s"abc" = "abc" // error: not a legal singleton type
}