summaryrefslogtreecommitdiff
path: root/test/files/pos/ticket0137.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/ticket0137.scala')
-rw-r--r--test/files/pos/ticket0137.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/ticket0137.scala b/test/files/pos/ticket0137.scala
new file mode 100644
index 0000000000..4ee92ae8a7
--- /dev/null
+++ b/test/files/pos/ticket0137.scala
@@ -0,0 +1,8 @@
+trait AbsM {
+ abstract class MonadCompanion[M[_]]
+ abstract class AbsMonadCompanion extends MonadCompanion[AM] {
+ def newTag: Int
+ }
+
+ type AM[_] // to trigger the bug, this must be an abstract type member that comes after the reference to it
+} \ No newline at end of file