-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR fixes two CLS and adds a workaround for an existing chplcheck issue. - Prior to this PR, name locations where not being recorded for enum element ```chapel enum A { a = 123 // the location is `a = 123`, the name location is `a` } ``` - Prior to this PR, inherit expressions and expressions inside enum elements were not being properly scope resolved by chapel-py ```chapel class CC { } class C: CC { } // now goto-def works on `CC` proc foo param do return 1; enum A { a = foo // now goto-def works on `foo` } ``` - Prior to this PR, `chplcheck` would report IncorrectIndentation for `if`/`else if` chains erroneously. While [that bug](#25256) still exists, this PR adds a skip for `else if` (similar to the `public`/`private` workaround) Tested that `start_test test/chplcheck` and `make test-cls` both work. [Reviewed by @DanilaFe]
- Loading branch information
Showing
8 changed files
with
865 additions
and
688 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters