[Issue 7522] ICE(interpret.c) Accessing a non-static member without this

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 20 00:56:48 PDT 2012


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



--- Comment #5 from yebblies <yebblies at gmail.com> 2012-04-20 17:57:44 EST ---
(In reply to comment #4)
> In 2.059 Win32
> 
> PS E:\DigitalMars\dmd2\samples> dmd bug.d
> bug.d(9): Error: need 'this' to access member a
> PS E:\DigitalMars\dmd2\samples>

That's odd, I still get the assertion failure with 2.060 head. (now on line
103)
Were you using the exact code in the original comment?

Chances are this is a bug where something that should be dealt with during
semantic is dealt with in the glue layer.  Probably getRightThis and friends in
e2ir.c.

-- 
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