diff options
author | Paul Phillips <paulp@improving.org> | 2011-07-18 21:05:05 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-07-18 21:05:05 +0000 |
commit | 658ba1b4e6898df65119f9cb6488ed8908c399ef (patch) | |
tree | b25a6f9ecf41b5896520ccc150a0a2e861960f40 /test/files | |
parent | b2a1ced1a720f1427ad573d8c7d26a4561626f88 (diff) | |
download | scala-658ba1b4e6898df65119f9cb6488ed8908c399ef.tar.gz scala-658ba1b4e6898df65119f9cb6488ed8908c399ef.tar.bz2 scala-658ba1b4e6898df65119f9cb6488ed8908c399ef.zip |
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.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/hkrange.scala | 5 |
1 files changed, 5 insertions, 0 deletions
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) +} |