diff options
Diffstat (limited to 'test/files/pos/bug202.scala')
-rw-r--r-- | test/files/pos/bug202.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/bug202.scala b/test/files/pos/bug202.scala new file mode 100644 index 0000000000..087e1ff5d2 --- /dev/null +++ b/test/files/pos/bug202.scala @@ -0,0 +1,8 @@ +trait C { + type T; + def f(x: T): unit; +} + +trait D extends C { + def f(x: T): unit = super.f(x); +} |