Closed DanilaFe closed 1 year ago
Just to make sure I'm understanding the salient features here, I'm guessing that this works if:
Expr
obviously :) )Anyway, I agree that an internal error is always a bug, so am not trying to brush this aside... just trying to understand how likely it is to come up in practice. Thanks!
At the time of writing (bc583a2afd059782bd0f8cae55f06dec08ca3f7a) this no longer causes an internal error. Closing.
Summary of Problem
I get an internal compiler error when compiling the following code:
I believe that the code technically is not valid (
childNode
is generic, and I don't think that's allowed?), but a compiler error is not the right way to go. In developer mode, the error is reported as follows:The regular error message points to line 2 as the source of the issue.
Steps to Reproduce
Compile command:
chpl minimal-explosion.chpl
chpl --version
:$CHPL_HOME/util/printchplenv --anonymize
: