diff options
author | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-10-23 09:40:18 -0700 |
---|---|---|
committer | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-10-23 09:40:18 -0700 |
commit | 5b98644ff9bca3b853464f6555ed7ea9af716adf (patch) | |
tree | 5a94b89ecbe13088be860393f2a3b4034371cda0 /test/files/pos/t6552.scala | |
parent | 6daf9c642578c0af178075f5cc10e2a19c35e12a (diff) | |
parent | c130e19c1cb4f4a1126d543f29a6f0408f25763f (diff) | |
download | scala-5b98644ff9bca3b853464f6555ed7ea9af716adf.tar.gz scala-5b98644ff9bca3b853464f6555ed7ea9af716adf.tar.bz2 scala-5b98644ff9bca3b853464f6555ed7ea9af716adf.zip |
Merge pull request #1515 from paulp/issue/6552
Fix SI-6552, regression with self types.
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) + } +} |