diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-03-11 16:35:52 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-03-29 10:33:22 +0200 |
commit | 57f8d1b1f7962f99cf27501994b1440e369fe597 (patch) | |
tree | c032a08900e8befe280ab7119785fa3e339cf77f /tests/neg | |
parent | fc2bdc85381d93dcf7010cf13347569e14efb29c (diff) | |
download | dotty-57f8d1b1f7962f99cf27501994b1440e369fe597.tar.gz dotty-57f8d1b1f7962f99cf27501994b1440e369fe597.tar.bz2 dotty-57f8d1b1f7962f99cf27501994b1440e369fe597.zip |
Add neg testing capability to ParallelTesting
Diffstat (limited to 'tests/neg')
-rw-r--r-- | tests/neg/i941.scala | 2 | ||||
-rw-r--r-- | tests/neg/instantiateAbstract.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/neg/i941.scala b/tests/neg/i941.scala index 2643c2546..fc29cc27d 100644 --- a/tests/neg/i941.scala +++ b/tests/neg/i941.scala @@ -1,7 +1,7 @@ object Test { def bar(tl: => String) = { - val x = tl _ //error + val x = tl _ // error val y = x _ // error val s: String = x() // error } diff --git a/tests/neg/instantiateAbstract.scala b/tests/neg/instantiateAbstract.scala index 10eeac64d..a2ff38ef4 100644 --- a/tests/neg/instantiateAbstract.scala +++ b/tests/neg/instantiateAbstract.scala @@ -15,7 +15,7 @@ object Test { @scala.annotation.Annotation type T = String // error @scala.annotation.Annotation val x = 1 // error - @scala.annotation.Annotation def f = 1 //error + @scala.annotation.Annotation def f = 1 // error (1: @scala.annotation.Annotation) // error |