diff options
Diffstat (limited to 'tests/untried/pos/t8177h.scala')
-rw-r--r-- | tests/untried/pos/t8177h.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/pos/t8177h.scala b/tests/untried/pos/t8177h.scala new file mode 100644 index 000000000..90b8a26ce --- /dev/null +++ b/tests/untried/pos/t8177h.scala @@ -0,0 +1,5 @@ +class Module { self => + type settingsType <: Any + final type commonModuleType = Module {type settingsType = self.settingsType} + def foo(s: self.type): commonModuleType = s +} |