From cdce02dc1d9c957621165545848c1f7bc358bd6d Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 24 Jan 2015 11:32:25 +0100 Subject: Fixes suggested by reviews from @smarter. Also, added tests trhat work now. --- tests/pos/caseClassInMethod.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/pos/caseClassInMethod.scala') diff --git a/tests/pos/caseClassInMethod.scala b/tests/pos/caseClassInMethod.scala index 958e5dd47..2e6484792 100644 --- a/tests/pos/caseClassInMethod.scala +++ b/tests/pos/caseClassInMethod.scala @@ -1,5 +1,5 @@ object t { def f = { object C; case class C(); 1 } - // pending: def g = { case class D(x: Int); object D; 2 } + def g = { case class D(x: Int); object D; 2 } def h = { case class E(y: Int = 10); 3 } } -- cgit v1.2.3