Branch: refs/heads/main
Revision: 0c118fa39060c90a2ad54d115cc6ff9a94302ae4
Author: DanilaFe
Link: LSP: another hot fix for runtime crashes by DanilaFe · Pull Request #24879 · chapel-lang/chapel · GitHub
Log Message:
LSP: another hot fix for runtime crashes (#24879)
This PR fixes a segmentation fault that occurs when we try to resolve
the type of an expression in a particular instantiated function.
Resolving concrete functions can fail (e.g., due to recursion), and
return null. We didn't handle that. This PR fixes that.
Reviewed by @jabraham17 -- thanks!
Diff:
M tools/chapel-py/src/method-tables/uast-methods.h
https://github.com/chapel-lang/chapel/pull/24879.diff