Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
June 02, 2016 [Issue 15908] Implicitly typed lambda inside class "has no value" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15908 John Colvin <john.loughran.colvin@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |john.loughran.colvin@gmail. | |com Hardware|x86_64 |All OS|Linux |All --- Comment #1 from John Colvin <john.loughran.colvin@gmail.com> --- I just hit this as well in slightly different circumstances. It appears to be a long-standing bug, I couldn't find an older compiler version that it worked with (haven't tried bisecting though). I'm pretty sure it's ctfe specific. -- |
June 02, 2016 [Issue 15908] Implicitly typed lambda inside class "has no value" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15908 John Colvin <john.loughran.colvin@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |CTFE, rejects-valid -- |
August 14, 2016 [Issue 15908] Implicitly typed lambda inside class "has no value" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15908 greensunny12@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greensunny12@gmail.com --- Comment #2 from greensunny12@gmail.com --- Uranuz from D.learn also hit this bug - in his/her case for structs: http://forum.dlang.org/post/noq45h$lgu$1@digitalmars.com struct A { import std.algorithm: map; import std.array: array; import std.typecons: tuple; static immutable aaa = [ tuple("1", "one"), tuple("2", "two"), tuple("3", "three") ]; static immutable bbb = aaa.map!( a => a[0] ).array; } void main() { A a = A(); } //--------- Compilation output: /opt/compilers/dmd2/include/std/algorithm/iteration.d(455): Error: this.__lambda6 has no value > I'm pretty sure it's ctfe specific. On DMD nightly you even get a better error message saying that am error during CTFE happened :/ -- |
December 17, 2022 [Issue 15908] Implicitly typed lambda inside class "has no value" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15908 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 15908] Implicitly typed lambda inside class "has no value" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15908 --- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19115 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation