diff options
author | Paul Phillips <paulp@improving.org> | 2012-10-31 07:09:01 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-10-31 07:09:01 -0700 |
commit | 8aec78470637f42f50981f8034215a709602dbad (patch) | |
tree | c27ce7457fdda7514a1bf05cb27551a72b0ec1d4 /test/files/pos/t6552.scala | |
parent | 34d021ad2021d3dbedc8b6fe20f7f0f6d1569757 (diff) | |
parent | ae0171321b94c42a36d0987503450ce2657fd516 (diff) | |
download | scala-8aec78470637f42f50981f8034215a709602dbad.tar.gz scala-8aec78470637f42f50981f8034215a709602dbad.tar.bz2 scala-8aec78470637f42f50981f8034215a709602dbad.zip |
Merge remote-tracking branch 'origin/2.10.0-wip' into merge-2.10.0-wip
# By Jason Zaugg (5) and others
# Via Josh Suereth (5) and others
* origin/2.10.0-wip:
Use Typed rather than .setType
Wider use and a new variant of typedPos.
SI-6575 Plug inference leak of AbstractPartialFun
Disabled generation of _1, _2, etc. methods.
SI-6526 Additional test case.
Fix SI-6552, regression with self types.
avoid single-art assert where harmful in duration-tck
Fix for SI-6537, inaccurate unchecked warning.
SI-6526 Tail call elimination should descend deeper.
Changes Tree and Type members from vals to defs.
Fixes SI-6170: issue with dragging scaladoc splitter over central iframe
Diffstat (limited to 'test/files/pos/t6552.scala')
-rw-r--r-- | test/files/pos/t6552.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t6552.scala b/test/files/pos/t6552.scala new file mode 100644 index 0000000000..98e686a1ae --- /dev/null +++ b/test/files/pos/t6552.scala @@ -0,0 +1,8 @@ +object Repros { + class Bar {} + class Baz(val myFoo: Foo) { } + trait Foo { + this: Bar => + val thing = new Baz(this) + } +} |