Bug 17841 – cannot access frame of function

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2017-09-19T22:03:22Z
Last change time
2024-12-13T18:54:38Z
Assigned to
No Owner
Creator
Alex
See also
https://issues.dlang.org/show_bug.cgi?id=5710
Moved to GitHub: dmd#17817 →

Comments

Comment #0 by sascha.orlov — 2017-09-19T22:03:22Z
Given this code ---- import std.algorithm.iteration : sum, cumulativeFold; void main() { double[5] a; auto asum = 1.23; auto jProbs = a[].cumulativeFold!((a, b) => (a + b)/asum); } ---- The last line does not compile. See https://forum.dlang.org/post/[email protected] probably related to https://issues.dlang.org/show_bug.cgi?id=11886 ? Used compiler: DMD64 D Compiler v2.076.0 on a Mac.
Comment #1 by snarwin+bugzilla — 2020-09-21T19:23:48Z
*** Issue 18091 has been marked as a duplicate of this issue. ***
Comment #2 by robert.schadek — 2024-12-13T18:54:38Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17817 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB