-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dyno: Fix bugs that were breaking chpl-language-server tests (#26007)
This PR fixes bugs that were causing test failures in `chpl-language-server`. Make sure to skip resolving function bodies in `resolveFunction` if the function does not have one (e.g., for `extern` functions). If `typedSignatureInitial` is called on a nested function and parent frames are not present, emit a warning and continue if the parent(s) are generic instead of returning `nullptr`. Future work should make `typedSignatureInitial` take the parent function signature instead. Reviewed by @mppf. Thanks! TESTING - [x] `linux64`, `standard` - [x] `test-chpl-language-server`
- Loading branch information
Showing
3 changed files
with
84 additions
and
29 deletions.
There are no files selected for viewing
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