diff options
author | VladimirNik <vladimir.nikolaev9@gmail.com> | 2016-02-18 18:10:35 +0100 |
---|---|---|
committer | VladimirNik <vladimir.nikolaev9@gmail.com> | 2016-02-18 18:11:46 +0100 |
commit | 955b04a41ccefeac6bfec0158991c152165be6eb (patch) | |
tree | 1aa3649b0997b865c9dd4c2aa02bb4a9a6e37efb /tests/neg/partialApplications.scala | |
parent | 5fc321ffaa0a0b6b997c0fdecf1a86590474d812 (diff) | |
download | dotty-955b04a41ccefeac6bfec0158991c152165be6eb.tar.gz dotty-955b04a41ccefeac6bfec0158991c152165be6eb.tar.bz2 dotty-955b04a41ccefeac6bfec0158991c152165be6eb.zip |
Adapt neg tests to new neg tests checks
Diffstat (limited to 'tests/neg/partialApplications.scala')
-rw-r--r-- | tests/neg/partialApplications.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/neg/partialApplications.scala b/tests/neg/partialApplications.scala index d186273aa..10cbc556e 100644 --- a/tests/neg/partialApplications.scala +++ b/tests/neg/partialApplications.scala @@ -1,11 +1,11 @@ object Test2 { type Histogram = Map[_, Int] // this is now an existential type! - type StringlyHistogram = Histogram[_ >: String] // Error: Test2.Histogram does not take type parameters + type StringlyHistogram = Histogram[_ >: String] // error: Test2.Histogram does not take type parameters - val xs: Histogram[String] = Map[String, Int]() // Error: Test2.Histogram does not take type parameters + val xs: Histogram[String] = Map[String, Int]() // error: Test2.Histogram does not take type parameters - val ys: StringlyHistogram[String] = xs // Error: Test2.StringlyHistogram does not take type parameters + val ys: StringlyHistogram[String] = xs // error: Test2.StringlyHistogram does not take type parameters val zs: StringlyHistogram = xs |