diff options
Diffstat (limited to 'tests/run/t7120/Base_1.scala')
-rw-r--r-- | tests/run/t7120/Base_1.scala | 10 |
1 files changed, 10 insertions, 0 deletions
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 ] +} |