diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/thistypes.scala | 8 | ||||
-rw-r--r-- | test/pos/thistypes.scala | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/files/pos/thistypes.scala b/test/files/pos/thistypes.scala new file mode 100644 index 0000000000..4a68ba3e65 --- /dev/null +++ b/test/files/pos/thistypes.scala @@ -0,0 +1,8 @@ +trait B { + trait I {} + def foo: B.this.I; +} + +trait C extends B { + def foo: C.this.I; +}
\ No newline at end of file diff --git a/test/pos/thistypes.scala b/test/pos/thistypes.scala new file mode 100644 index 0000000000..4a68ba3e65 --- /dev/null +++ b/test/pos/thistypes.scala @@ -0,0 +1,8 @@ +trait B { + trait I {} + def foo: B.this.I; +} + +trait C extends B { + def foo: C.this.I; +}
\ No newline at end of file |