From e51b8845fb20fe3a4e1c655d4b72e2833906bbc2 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 20 Dec 2015 22:00:29 +0100 Subject: The big pending/pos test triage --- tests/pos/t6225.scala | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/pos/t6225.scala (limited to 'tests/pos/t6225.scala') diff --git a/tests/pos/t6225.scala b/tests/pos/t6225.scala new file mode 100644 index 000000000..d3d30d9e1 --- /dev/null +++ b/tests/pos/t6225.scala @@ -0,0 +1,20 @@ + +package library.x { + class X { + class Foo + implicit val foo: Foo = new Foo + } +} +package library { + package object y extends library.x.X +} + +object ko { + import library.y.{Foo, foo} + implicitly[Foo] +} + +object ko2 { + import library.y._ + implicitly[Foo] +} -- cgit v1.2.3