Branch: refs/heads/main
Revision: e2b3ae6
Author: mppf
Log Message:
Merge pull request #18356 from mppf/allow-enum-reads-prefix-type-name
Allow enum reads prefixed with type name
Issue #18335 is requesting that reading an enum support things like
enumtype.valname. This is already supported for casts from string to
enum since PR #3225.
This PR adds such support by adjusting the enum read code to look for
enumtype . valname instead of just valname.
- [x] full local testing
Reviewed by @dlongnecke-cray - thanks!
Modified Files:
A test/io/ferguson/enum-with-prefix.chpl
A test/io/ferguson/enum-with-prefix.good
M modules/standard/IO.chpl
Compare: https://github.com/chapel-lang/chapel/compare/baf172bb3337...e2b3ae630906