[Issue 852] ICE(toir.c) using local class in non-static nested function in nested static function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 27 04:46:16 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=852
--- Comment #5 from Tomas Lindquist Olsen <tomas at 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: -------
More information about the Digitalmars-d-bugs
mailing list