What does "foo.init" mean? Looks to me like invalid code.
Comment #3 by clugdbug — 2013-06-19T03:06:32Z
This now compiles in all cases. I think this is incorrect, so I have opened
http://d.puremagic.com/issues/show_bug.cgi?id=10413
But the original bug in this report is fixed -- scope no longer makes a difference. Almost certainly there were variations of this bug which weren't invalid.