summaryrefslogtreecommitdiff
path: root/test/files/run/t6481.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-6841 Fix bug at the intersection of DelayedInit and named argsJason Zaugg2013-05-301-0/+4
The DelayedInit transformation analyses the constructor to partition regular initialization from calls to super constructors / trait initializers. It failed to find such super calls if they were nested in a Block, which can happens when using named or default arguments. This commit makes that code peer into Blocks to correctly partition the constructor statements. This change doesn't affect the result of run/t4680.scala, which was mentioned in nearby comments and which chronicles bugs with DelayedInit when used in inheritance hierarchies.