scala/scala — pull request #2138 by retronym (2013-02-19 14:24:33+00:00)
Title: SI-6576 Workaround / diagnostic for IDE NPE.

Seems like this was too optimistic:

> // later by lukas: disabled when fixing SI-5975
> // i think it cannot happen anymore

- restored the null check
- added logging when we set the namer in this attachment,
in the hope of spotting a pattern in the wild.

We don't have a test case yet; if we did we could most likely
have a more principled fix. But this should suffice for 2.10.1.

Review by @lrytz