From 12053fa4d55497fc4df06afd67ba3762019969c3 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Mon, 14 Sep 2015 17:07:23 +0200 Subject: Enable more tests that pass --- tests/run/t7120/Base_1.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/run/t7120/Base_1.scala (limited to 'tests/run/t7120/Base_1.scala') diff --git a/tests/run/t7120/Base_1.scala b/tests/run/t7120/Base_1.scala new file mode 100644 index 000000000..be07b4f34 --- /dev/null +++ b/tests/run/t7120/Base_1.scala @@ -0,0 +1,10 @@ +// This bug doesn't depend on separate compilation, +// in the interests of minimizing the log output during +// debugging this problem, I've split the compilation. + +case class Container( v: String ) + +trait Base[ T <: AnyRef ] { + type UserType = T + protected def defect: PartialFunction[ UserType, String ] +} -- cgit v1.2.3