[Issue 8255] [CTFE] ICE when passing 'ref' literal
https://issues.dlang.org/show_bug.cgi?id=8255 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=21647 --
[Issue 8255] [CTFE] ICE when passing 'ref' literal
https://d.puremagic.com/issues/show_bug.cgi?id=8255 Kenji Hara changed: What|Removed |Added Resolution|WORKSFORME |FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8255] [CTFE] ICE when passing 'ref' literal
https://d.puremagic.com/issues/show_bug.cgi?id=8255 --- Comment #4 from github-bugzi...@puremagic.com 2013-11-16 00:59:38 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/053c0d2ab1cd239714cf1d4078e89a76b2eb6ec0 fix Issue 8255 - [CTFE] ICE when passing 'ref' literal -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8255] [CTFE] ICE when passing 'ref' literal
http://d.puremagic.com/issues/show_bug.cgi?id=8255 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||WORKSFORME --- Comment #3 from Walter Bright 2013-10-06 23:21:23 PDT --- I get the following message from 2.064 head: test.d(3): Error: function test.F!(G).F.f (ref G _param_0) is not callable using argument types (G) test.d(3):while evaluating pragma(msg, F().f(G())) No ice. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8255] [CTFE] ICE when passing 'ref' literal
http://d.puremagic.com/issues/show_bug.cgi?id=8255 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au Depends on||7988 --- Comment #2 from Don 2012-09-26 00:45:55 PDT --- Before CTFE begins, the code in comment 1 is translated into: F().f((G __tmpsl5 = G(); , __tmpsl5)) The problem is that the comma expression is evaluated outside of CTFE. This would be fixed by bug 7988. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8255] [CTFE] ICE when passing 'ref' literal
http://d.puremagic.com/issues/show_bug.cgi?id=8255 Kenji Hara changed: What|Removed |Added Keywords||CTFE, ice Platform|x86 |All Summary|ICE when passing 'ref' |[CTFE] ICE when passing |literal |'ref' literal OS/Version|Windows |All --- Comment #1 from Kenji Hara 2012-06-17 00:10:51 PDT --- This is the CTFE problem on out of function scope. struct G {} struct F(T) { void f(ref T) {} } pragma(msg, F!G().f(G.init)); // ICE enum b = { F!G().f(G.init); return true; }();// OK void main() { F!G().f(G.init);// OK } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---