From dd8706fc1190909552fd5a84c3e311aaa2e80466 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Thu, 20 Oct 2011 22:28:50 +0000 Subject: 5033: align bound syms when comparing method types can't believe I missed that one... closes SI-5033 more complete test case to make sure the multi-arglist case works as well no review --- test/files/pos/t5033.scala | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/files/pos/t5033.scala (limited to 'test/files/pos/t5033.scala') diff --git a/test/files/pos/t5033.scala b/test/files/pos/t5033.scala new file mode 100644 index 0000000000..c4c3334852 --- /dev/null +++ b/test/files/pos/t5033.scala @@ -0,0 +1,15 @@ +trait Eater { + type Food[T] +} + +trait Fruit { + type Seed +} + +trait PipExtractor { + def extract(a: Fruit)(b: Eater): b.Food[a.Seed] +} + +trait LaserGuidedPipExtractor extends PipExtractor { + def extract(f: Fruit)(g: Eater): g.Food[f.Seed] +} \ No newline at end of file -- cgit v1.2.3