You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buggy2.chpl:1: In function 'times2':
buggy2.chpl:2: internal error: CAL1184 chpl Version 1.14.0.2a61e6e
Internal errors indicate a bug in the Chapel compiler ("It's us, not you"),
and we're sorry for the hassle. We would appreciate your reporting this bug --
please see http://chapel.cray.com/bugs.html for instructions. In the meantime,
the filename + line number above may be useful in working around the issue.
The text was updated successfully, but these errors were encountered:
@jabraham17 Now that you mention it (in #6538) the code here no longer hits an internal error, but instead reports the same sort of error as in the .good file there,
buggy2.chpl:5: In function 'test':
buggy2.chpl:6: error: cannot capture lambda because it refers to outer variables
buggy2.chpl:6: note: such as 'k', here
Summary of Problem
I'm running into an internal compiler error (CAL1184) trying to pass a lambda to a function.
Steps to Reproduce
Source Code:
Compile command:
chpl buggy2.chpl
Compile output:
The text was updated successfully, but these errors were encountered: