summaryrefslogtreecommitdiff
path: root/test/files/pos/ticket0137.scala
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2007-09-26 17:02:57 +0000
committerAdriaan Moors <adriaan.moors@epfl.ch>2007-09-26 17:02:57 +0000
commit34f6ea9cab4723231d9382b92ea165e007bbdb48 (patch)
tree699e76c6a2d8cb1f0474515c52d4b5dd8dcf6cee /test/files/pos/ticket0137.scala
parentf25732f7d1d555240afd00298e2be8aa29672a42 (diff)
downloadscala-34f6ea9cab4723231d9382b92ea165e007bbdb48.tar.gz
scala-34f6ea9cab4723231d9382b92ea165e007bbdb48.tar.bz2
scala-34f6ea9cab4723231d9382b92ea165e007bbdb48.zip
fixed ticket 137
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