diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2011-03-21 13:37:53 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2011-03-21 13:37:53 +0000 |
commit | 0b0a927a607f8884651168c2361c2d91ebcd04b0 (patch) | |
tree | a7ab9ebd0c8a75634c11c285f6fb6ad3b0875e58 /test/files/pos/t4202.scala | |
parent | b5d314af8ee4dcab49300ebdadc399298196f233 (diff) | |
download | scala-0b0a927a607f8884651168c2361c2d91ebcd04b0.tar.gz scala-0b0a927a607f8884651168c2361c2d91ebcd04b0.tar.bz2 scala-0b0a927a607f8884651168c2361c2d91ebcd04b0.zip |
Closes #4202 again, closes #4363.
Diffstat (limited to 'test/files/pos/t4202.scala')
-rw-r--r-- | test/files/pos/t4202.scala | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/files/pos/t4202.scala b/test/files/pos/t4202.scala index dbedd0bf79..b2a0c0120a 100644 --- a/test/files/pos/t4202.scala +++ b/test/files/pos/t4202.scala @@ -1,7 +1,18 @@ -object t4202 { +object t4202_1 { () => { trait T { def t = () } } } + +object t4202_2 { + () => { + trait T { + def t = () + } + object T2 extends T { + t + } + } +} |