Thread overview | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
April 10, 2018 [Issue 14909] Template argument of std.algoirthm.iteration.chunkBy cannot access a local variable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14909 hsteoh@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=18751 -- |
April 10, 2018 [Issue 14909] Template argument of std.algoirthm.iteration.chunkBy cannot access a local variable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14909 hsteoh@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=18753 -- |
April 11, 2018 [Issue 14909] Template argument of std.algorithm.iteration.chunkBy cannot access a local variable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14909 Seb <greensunny12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greensunny12@gmail.com Summary|Template argument of |Template argument of |std.algoirthm.iteration.chu |std.algorithm.iteration.chu |nkBy cannot access a local |nkBy cannot access a local |variable |variable -- |
September 10, 2020 [Issue 14909] Template argument of std.algorithm.iteration.chunkBy cannot access a local variable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14909 --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @jamesragray created dlang/phobos pull request #7625 "Issue 14909: Provided a fix for the forward range version of chunkBy …" mentioning this issue: - Issue 14909: Provided a fix for the forward range version of chunkBy so that it can accept predicates refernce variables in the calling function https://github.com/dlang/phobos/pull/7625 -- |
September 23, 2020 [Issue 14909] Template argument of std.algorithm.iteration.chunkBy cannot access a local variable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14909 --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #7625 "Issue 14909: Provided a fix for the forward range version of chunkBy …" was merged into master: - 2ed6952a719ce610bc3a513d67b602163f196ff9 by James Gray: Issue 14909: Provided a fix for the forward range version of chunkBy so that it can accept predicates refernce variables in the calling function https://github.com/dlang/phobos/pull/7625 -- |
August 23, 2021 [Issue 14909] Template argument of std.algorithm.iteration.chunkBy cannot access a local variable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14909 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuclaw@gdcproject.org --- Comment #3 from Iain Buclaw <ibuclaw@gdcproject.org> --- Possibly reduced test: --- template binaryFun(alias fun) { alias binaryFun = fun; } struct ChunkByImpl(alias pred, Range) { alias eq = binaryFun!((a, b) => pred(a)); Range r; this(Range ) { eq(r, r); } } auto chunkBy(alias pred, Range)(Range) { ChunkByImpl!(pred, Range); } void main() { auto n = 3; 1.chunkBy!(a => a+n); } -- |
December 17, 2022 [Issue 14909] Template argument of std.algorithm.iteration.chunkBy cannot access a local variable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14909 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 14909] Template argument of std.algorithm.iteration.chunkBy cannot access a local variable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14909 --- Comment #4 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19025 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation