19197, "jhh67", "some reserved words can't be used as a file name", "2022-02-07T13:46:00Z"
Summary of Problem
At least some reserved words cannot be used as a file name and cause a confusing error message. I got the following error trying to compile borrowed.chpl
error: 'borrowed' has multiple definitions, redefined at:
borrowed.chpl:1
However, Brad was able to compile if.chpl so not all reserved words cause the error.
Steps to Reproduce
Source Code:
writeln("Hello World!");
Compile command:
chpl borrowed.chpl
Execution command:
NA
Associated Future Test(s):
NA
Configuration Information
Output of chpl --version:
chpl version 1.26.0 pre-release (27f3d59788)
Copyright 2020-2022 Hewlett Packard Enterprise Development LP
Copyright 2004-2019 Cray Inc.
(See LICENSE file for more details)
Output of $CHPL_HOME/util/printchplenv --anonymize: