[Issue 4949] ICE on invalid static if using value of 'this'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 27 10:39:25 PDT 2010


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


Iain Buclaw <ibuclaw at ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


--- Comment #1 from Iain Buclaw <ibuclaw at ubuntu.com> 2010-09-27 10:38:40 PDT ---
Tested, I now get:

ice.d(6): Error: value of 'this' is not known at compile time
ice.d(6): Error: expression this.dg() is not constant or does not evaluate to a
bool


Which is correct, and fixes the ICE.

Regards

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