From 34f6ea9cab4723231d9382b92ea165e007bbdb48 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Wed, 26 Sep 2007 17:02:57 +0000 Subject: fixed ticket 137 --- test/files/pos/ticket0137.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/files/pos/ticket0137.scala (limited to 'test') 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 -- cgit v1.2.3