aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/singletons.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-10-21 16:56:05 +0200
committerMartin Odersky <odersky@gmail.com>2015-10-22 12:21:25 +0200
commit3da5e04e286ee74781fda9e3b8776e5a8644712a (patch)
treee16bd67fd3dc049f407f4b0ffcf5830fd861c952 /tests/neg/singletons.scala
parent9ad85c31640d8cf3b97db51f5520c1ca63e3e31c (diff)
downloaddotty-3da5e04e286ee74781fda9e3b8776e5a8644712a.tar.gz
dotty-3da5e04e286ee74781fda9e3b8776e5a8644712a.tar.bz2
dotty-3da5e04e286ee74781fda9e3b8776e5a8644712a.zip
Fix tests to survive wellformedness checks
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
}