scala/scala — pull request #527 by retronym (2012-05-11 05:35:09+00:00)
Title: Forbid forward refs from self constructor invocations.

Prevents the wheels falling off during later compiler phases,
or, worse, during bytecode verification.

Closes SI-4098.

It's passing `partest --all`. Please review the specificity of the pattern
match: I'm assuming that:

`case Apply(Select(This(_), nme.CONSTRUCTOR), args)`

can only match a self constructor invocation.