scala/scala — pull request #1786 by retronym (2012-12-18 13:53:05+00:00)
Title: SI-6745 Fix <init> lookup

We should only consult the decls of the enclosing
class. Members of the self type, enclosing scopes,
or imports should not be considered.

Reworked and retargeted version of #1689. The change is easier to implement and review on master after Paul's recent refactoring.

Review by @paulp