Open ben-albrecht opened 5 years ago
I changed this from "error message" to "bug" because I think we should consider any internal error to be a bug and reserve the "error message" label for cases where we're generating an error message but it should be reworded / improved. (and I don't consider "internal error" to be an error message by this definition).
On main today, the program in the OP has a nicer error message
foo.chpl:1: In function 'hello':
foo.chpl:4: error: unmanaged can only apply to class types (_owned is not a class type)
I think this is still a confusing error, so I am not going to close this issue. But I am relabeling it for error message improvement rather than bug
I encountered the following program that segfaults when exploring work-arounds for https://github.com/chapel-lang/chapel/issues/13307 (now fixed). I think we just need to prevent the segfault and emit a helpful error message, assuming this should actually be an error.
Steps to Reproduce
Source Code:
Compile command:
Configuration Information
chpl --version
: chpl version 1.20.0 pre-release (2a4d3df327)