diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2015-12-23 01:29:23 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2015-12-23 01:29:23 +0100 |
commit | c66613de7f32cfabbca765a96f1a3cc0ea2d5bcb (patch) | |
tree | d4ae4eba120bbb381b566101492410df7cf7f6ae /tests | |
parent | 08e3f7688c2364e7f6760b8be35cd4ea6b330a10 (diff) | |
parent | 51c6646aa64f0e5ef63f337bca4fb2803743a50a (diff) | |
download | dotty-c66613de7f32cfabbca765a96f1a3cc0ea2d5bcb.tar.gz dotty-c66613de7f32cfabbca765a96f1a3cc0ea2d5bcb.tar.bz2 dotty-c66613de7f32cfabbca765a96f1a3cc0ea2d5bcb.zip |
Merge pull request #1008 from dotty-staging/fix-sym-positions
Fix off by 2 error for symbol positions
Diffstat (limited to 'tests')
-rw-r--r-- | tests/neg/clashes.scala | 4 | ||||
-rw-r--r-- | tests/neg/t0654.scala | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/tests/neg/clashes.scala b/tests/neg/clashes.scala index 11354706d..6c051953d 100644 --- a/tests/neg/clashes.scala +++ b/tests/neg/clashes.scala @@ -1,6 +1,6 @@ object Test { class C - type C + type C // error } -object Test +object Test // error diff --git a/tests/neg/t0654.scala b/tests/neg/t0654.scala deleted file mode 100644 index 0d0f2f7de..000000000 --- a/tests/neg/t0654.scala +++ /dev/null @@ -1,5 +0,0 @@ -object Test { - class Foo[T] - type C[T] = Foo[_ <: T] // error: parameter type T of type alias does not appear as type argument of the aliased class Foo - val a: C[AnyRef] = new Foo[AnyRef] -} |