Closed IllusionMH closed 5 years ago
This PR does two things:
typeChecker.getTypeAtLocation
try..catch
This PR doesn't fix root cause of #859 but at least rules won't throw an exception.
No unit tests for specific case because issue is noticeable in only in Vue. Should I add tests to handle this exceptional case?
Thanks for review!
Thank you :)
PR checklist
Overview of change:
This PR does two things:
typeChecker.getTypeAtLocation
intry..catch
and restores same behavir when type checker is not available.This PR doesn't fix root cause of #859 but at least rules won't throw an exception.
Is there anything you'd like reviewers to focus on?
No unit tests for specific case because issue is noticeable in only in Vue. Should I add tests to handle this exceptional case?