Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot access frame of function #17817

Open
dlangBugzillaToGithub opened this issue Sep 19, 2017 · 1 comment
Open

cannot access frame of function #17817

dlangBugzillaToGithub opened this issue Sep 19, 2017 · 1 comment
Labels
Arch:x86 Issues specific to x86 P3 Severity:normal

Comments

@dlangBugzillaToGithub
Copy link

Alex reported this on 2017-09-19T22:03:22Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=17841

CC List

  • mikey

Description

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/mplrntaplbtsoyxkwpqn@forum.dlang.org
probably related to 
https://issues.dlang.org/show_bug.cgi?id=11886 ? 

Used compiler: 
DMD64 D Compiler v2.076.0
on a Mac.
@dlangBugzillaToGithub
Copy link
Author

snarwin+bugzilla commented on 2020-09-21T19:23:48Z

*** Issue 18091 has been marked as a duplicate of this issue. ***

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch:x86 Issues specific to x86 P3 Severity:normal
Projects
None yet
Development

No branches or pull requests

1 participant