From 1ba3d612bce92b468fa3232a3157c2a49c48d741 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 21 Sep 2015 13:51:36 +0200 Subject: Fixes to comments suggested by reviewer Fixes suggested by @marter when reviewing previous hk PR. --- tests/pos/partialApplications.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/pos') diff --git a/tests/pos/partialApplications.scala b/tests/pos/partialApplications.scala index 285dc8661..696c544e7 100644 --- a/tests/pos/partialApplications.scala +++ b/tests/pos/partialApplications.scala @@ -31,13 +31,13 @@ object Test { object Test2 { type Histogram = Map[_, Int] - type StringlyHistogram = Histogram[_ >: String] // error + type StringlyHistogram = Histogram[_ >: String] - val xs: Histogram[String] = Map[String, Int]() // error + val xs: Histogram[String] = Map[String, Int]() - val ys: StringlyHistogram[String] = xs // error + val ys: StringlyHistogram[String] = xs - val zs: StringlyHistogram = xs // error + val zs: StringlyHistogram = xs val xs1 = xs val ys1 = ys -- cgit v1.2.3