From 658ba1b4e6898df65119f9cb6488ed8908c399ef Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 18 Jul 2011 21:05:05 +0000 Subject: Fixed adriaan's patch for type constructor infe... Fixed adriaan's patch for type constructor inference. The problem with haranguing people in bars about bugs is that the fixes with which they provide you may be flawed. Fortunately moors has this novelist on retainer. Review by moors. --- test/files/pos/hkrange.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/files/pos/hkrange.scala (limited to 'test') diff --git a/test/files/pos/hkrange.scala b/test/files/pos/hkrange.scala new file mode 100644 index 0000000000..a6803230ed --- /dev/null +++ b/test/files/pos/hkrange.scala @@ -0,0 +1,5 @@ +class A { + def f[CC[X] <: Traversable[X]](x: CC[Int]) = () + + f(1 to 5) +} -- cgit v1.2.3