diff options
author | liu fengyun <liu@fengy.me> | 2016-11-17 08:22:57 +0100 |
---|---|---|
committer | liu fengyun <liu@fengy.me> | 2016-11-17 08:22:57 +0100 |
commit | 51be882adb6f055c1cf924167f8fab7edb82d721 (patch) | |
tree | 6b968ead332f6af9923d056e11db7f6a1e33ff1b /tests/neg/i1701.scala | |
parent | 2cd44974e49776f64939bec3727e2d01cc746bf2 (diff) | |
download | dotty-51be882adb6f055c1cf924167f8fab7edb82d721.tar.gz dotty-51be882adb6f055c1cf924167f8fab7edb82d721.tar.bz2 dotty-51be882adb6f055c1cf924167f8fab7edb82d721.zip |
fix neg test i1701.scala
Diffstat (limited to 'tests/neg/i1701.scala')
-rw-r--r-- | tests/neg/i1701.scala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/neg/i1701.scala b/tests/neg/i1701.scala index 523191000..6b5e04692 100644 --- a/tests/neg/i1701.scala +++ b/tests/neg/i1701.scala @@ -1,3 +1,5 @@ trait Foo { - def test (x : test) : Int -}
\ No newline at end of file + def test (x : test) : Int // error: not found test + def f(x : src) : Int // error + def g(x : src.project) : Int // error +} |