Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
April 05, 2016 [Issue 15870] UFCS not recognized on array when passing as alias parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15870 ryan@rcorre.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ryan@rcorre.net -- |
July 02, 2017 [Issue 15870] UFCS not recognized on array when passing as alias parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15870 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |CTFE, rejects-valid CC| |dlang-bugzilla@thecybershad | |ow.net Hardware|x86_64 |All OS|Linux |All Severity|enhancement |normal -- |
May 25, 2018 [Issue 15870] UFCS not recognized on array when passing as alias parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15870 Ivan Kazmenko <gassa@mail.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gassa@mail.ru --- Comment #1 from Ivan Kazmenko <gassa@mail.ru> --- Still does not work in 2.080 release. The error message however is interesting. Here is a modified example with a line containing `(a)` instead of `a`. Compile with `dmd -main`: ----- import std.algorithm; enum test(alias fun) = "it works"; immutable a = [1,2,3]; pragma(msg, typeof(a)); // immutable(int[]) pragma(msg, test!((a).map!(x => x))); // "it works" pragma(msg, test!(a.map!(x => x))); // template identifier `map` is not a member of variable `a.a` ----- Why is that `a.a` in the first place? Does the compiler mistake `a` for an eponymous template somehow, instead of seeing that `map` is a template here? -- |
December 17, 2022 [Issue 15870] UFCS not recognized on array when passing as alias parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15870 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 15870] UFCS not recognized on array when passing as alias parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15870 --- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19112 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation