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

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4949

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|D1  D2 |D2

--


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

2010-09-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4949


Iain Buclaw ibuc...@ubuntu.com changed:

   What|Removed |Added

   Keywords||patch


--- Comment #1 from Iain Buclaw ibuc...@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: ---