diff options
author | Martin Odersky <odersky@gmail.com> | 2010-07-19 13:55:09 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-07-19 13:55:09 +0000 |
commit | a6bb10a310b2d10cfd2713b9d8ca5c21af73902d (patch) | |
tree | 7a9ac52d1ce9d9cd19b5200bd9ee3aacbf269cb2 /test/files/pos/t2133.scala | |
parent | 5c9400467b802dfb7102f2de507bb3c0c4193c22 (diff) | |
download | scala-a6bb10a310b2d10cfd2713b9d8ca5c21af73902d.tar.gz scala-a6bb10a310b2d10cfd2713b9d8ca5c21af73902d.tar.bz2 scala-a6bb10a310b2d10cfd2713b9d8ca5c21af73902d.zip |
new test files.
Diffstat (limited to 'test/files/pos/t2133.scala')
-rw-r--r-- | test/files/pos/t2133.scala | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/files/pos/t2133.scala b/test/files/pos/t2133.scala new file mode 100644 index 0000000000..c74d0a4bbf --- /dev/null +++ b/test/files/pos/t2133.scala @@ -0,0 +1,18 @@ +trait Foo { + object bar { + private[this] def fn() = 5 + } +} + +trait Foo2 { + object bip { + def fn() = 10 + } +} + +class Bob extends AnyRef with Foo with Foo2 { + import bip._ + import bar._ + + def go() = fn() +} |