[Issue 8253] CTFE ICE: calling of member function of non-CTFE class variable

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

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

   What|Removed |Added

Version|D1  D2 |D2

--


[Issue 8253] CTFE ICE: calling of member function of non-CTFE class variable

2013-07-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8253


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


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


[Issue 8253] CTFE ICE: calling of member function of non-CTFE class variable

2013-07-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8253



--- Comment #3 from github-bugzi...@puremagic.com 2013-07-12 14:07:14 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/339ff2a11b95a42b31e0d11ba17ea970c8cb391b
Fix issue 8253 ICE: calling of member function of non-CTFE class variable

Test case only, already fixed by doing constfolding in CTFE.

https://github.com/D-Programming-Language/dmd/commit/a0ba3b2aa31d93709a1ed3e21f5a2deca6c761fc
Merge pull request #2339 from donc/fourCTFEtestcases

Test cases for bugs 1982, 7988, 8253, and 8285.

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


[Issue 8253] CTFE ICE: calling of member function of non-CTFE class variable

2012-09-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8253


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

   Keywords||CTFE, ice
 CC||clugd...@yahoo.com.au
   Platform|x86_64  |All
Version|D2  |D1  D2
Summary|ctfe stack assertion failed |CTFE ICE: calling of member
   ||function of non-CTFE class
   ||variable
 OS/Version|Linux   |All


--- Comment #1 from Don clugd...@yahoo.com.au 2012-09-20 23:44:34 PDT ---
Further reduced:

class Bug8253 {
bool j(){
return true;
}
}
Bug8253 m8253;
static assert(m8253.j());

Also applies to D1.

The problem is that the 'variable cannot be read at compile error' is generated
by constant folding, not by CTFE. Fixing bug 7988 would fix this.

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