Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 29, 2013 [Issue 10499] New: [REG 2.064] retro is no longer CTFE-able | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10499 Summary: [REG 2.064] retro is no longer CTFE-able Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: dmitry.olsh@gmail.com --- Comment #0 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2013-06-29 02:50:21 PDT --- Stripped from new std.uni: import std.range; string genUnrolledSwitch(size_t size) { foreach(v; iota(0, size).retro()) { } return "OK"; } pragma(msg, genUnrolledSwitch(4)); C:\dmd2\windows\bin\..\..\src\phobos\std\range.d(1462): Error: Declaration static template Result() is not yet implemented in CTFE unrolled.d(5): called from here: retro(iota(0, size)) unrolled.d(5): called from here: map(retro(iota(0, size))) unrolled.d(12): called from here: genUnrolledSwitch(4u) genUnrolledSwitch(4u) Failed: "dmd" "-v" "-o-" "unrolled.d" "-I." Introduced by commit: d8d4c1ea41fcb06ee6e40b8b0e6dc10ade63e11a It exposed a limitation in CTFE by turning inner struct into an empty-args template (to deduce purity/safety). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 08, 2013 [Issue 10499] [REG 2.064] retro is no longer CTFE-able | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dmitry Olshansky | http://d.puremagic.com/issues/show_bug.cgi?id=10499 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |CTFE, pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-07-08 00:04:35 PDT --- https://github.com/D-Programming-Language/dmd/pull/2318 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 08, 2013 [Issue 10499] [REG 2.064] retro is no longer CTFE-able | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dmitry Olshansky | http://d.puremagic.com/issues/show_bug.cgi?id=10499 --- Comment #2 from github-bugzilla@puremagic.com 2013-07-08 00:44:50 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6052013ceecfb67556671ba28cafeebfeb1e45d6 fix Issue 10499 - retro is no longer CTFE-able https://github.com/D-Programming-Language/dmd/commit/f2cd7d4b19c58209d684403541e93416d071e78b Merge pull request #2318 from 9rnsr/fix10499 [REG2.064a] Issue 10499 - retro is no longer CTFE-able -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 09, 2013 [Issue 10499] [REG 2.064] retro is no longer CTFE-able | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dmitry Olshansky | http://d.puremagic.com/issues/show_bug.cgi?id=10499 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation