http://d.puremagic.com/issues/show_bug.cgi?id=852





--- Comment #5 from Tomas Lindquist Olsen <to...@famolsen.dk>  2009-05-27 
04:46:15 PDT ---
Both test cases work correctly in LDC by giving an error:

$ ldc foo.d
foo.d(5): Error: outer function context of foo.bar is needed to 'new' nested
class foo.bar.Foo

$ ldc foo2.d
foo.d(5): Error: outer function context of foo2.bar is needed to 'new' nested
class foo2.bar.Foo

This is most likely because we moved the error checking out of codegen and into
the frontend (where it belongs).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to