diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-01-16 18:56:24 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-01-29 23:44:38 +0100 |
commit | cfaa3b5408eb3e6eabe108d3adcb06fdcafe912a (patch) | |
tree | bbd68d2a567dfeb4477c19a1dc5518262bc7a5e4 /tools/abspath | |
parent | 45ccdc5b89f8fb47a418c8c1304e16afc4d14e2c (diff) | |
download | scala-cfaa3b5408eb3e6eabe108d3adcb06fdcafe912a.tar.gz scala-cfaa3b5408eb3e6eabe108d3adcb06fdcafe912a.tar.bz2 scala-cfaa3b5408eb3e6eabe108d3adcb06fdcafe912a.zip |
SI-6551 Expand test case into uncomfortable areas.
trait T { type U }
class A(val a: T) extends AnyVal {
def foo[TT <: a.U] = 0
}
It works! But it's pure serendipity. After extmethods,
the careful student of ASTs will find:
object A {
final def foo$extension[TT >: Nothing <: A.this.a.U]($this: A): Int = 0;
}
`A.this` doesn't belong.
For now we just include this case under our test umbrella.
Diffstat (limited to 'tools/abspath')
0 files changed, 0 insertions, 0 deletions