diff options
author | Martin Odersky <odersky@gmail.com> | 2015-10-21 16:56:05 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-10-22 12:21:25 +0200 |
commit | 3da5e04e286ee74781fda9e3b8776e5a8644712a (patch) | |
tree | e16bd67fd3dc049f407f4b0ffcf5830fd861c952 /tests/neg/singletons.scala | |
parent | 9ad85c31640d8cf3b97db51f5520c1ca63e3e31c (diff) | |
download | dotty-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.scala | 2 |
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 } |