This commit adds an error check to avoid crash while accessing the result of typecheck when there is an error generated.
Encountered a panic during hover. I don't have a way to reproduce it consistently. However I think this check is necessary. Please let me know otherwise. Posting the panic st.
This commit adds an error check to avoid crash while accessing the result of typecheck when there is an error generated. Encountered a panic during hover. I don't have a way to reproduce it consistently. However I think this check is necessary. Please let me know otherwise. Posting the panic st.
Signed-off-by: Abhinandan Prativadi aprativadi@fb.com