summaryrefslogtreecommitdiff
path: root/test/files/pos/t8177h.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t8177h.scala')
-rw-r--r--test/files/pos/t8177h.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t8177h.scala b/test/files/pos/t8177h.scala
new file mode 100644
index 0000000000..90b8a26ce7
--- /dev/null
+++ b/test/files/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
+}