diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/bug4753.check | 1 | ||||
-rw-r--r-- | test/files/run/bug4753.scala | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/test/files/run/bug4753.check b/test/files/run/bug4753.check new file mode 100644 index 0000000000..7b19ee8df2 --- /dev/null +++ b/test/files/run/bug4753.check @@ -0,0 +1 @@ +boolean diff --git a/test/files/run/bug4753.scala b/test/files/run/bug4753.scala new file mode 100644 index 0000000000..cfb252cbe5 --- /dev/null +++ b/test/files/run/bug4753.scala @@ -0,0 +1,12 @@ +trait A { + val actualType: Class[_] +} +trait B extends A { + final val actualType = classOf[Boolean] +} + +object Test extends B { + def main(args: Array[String]): Unit = { + println(actualType) + } +} |