cannot access frame of function
Alex
sascha.orlov at gmail.com
Mon Sep 18 21:58:39 UTC 2017
On Monday, 18 September 2017 at 18:49:54 UTC, ag0aep6g wrote:
>
> Doesn't work for me. This still fails compilation with the same
> error:
>
> ----
> import std.algorithm.iteration : sum, cumulativeFold;
> void main()
> {
> double[5] a;
> auto asum = 1.23;
> auto jProbs = a[].cumulativeFold!((a, b) => (a + b)/asum);
> }
> ----
So, this is a bug, isn't it? I assume, I should file it then...
More information about the Digitalmars-d-learn
mailing list