Closed floitschG closed 6 years ago
https://codereview.chromium.org/2013123002/ might address the null pointer exceptions during code completion.
@jwren The last exception appears to be an IntelliJ issue. Could you move it over to their issue tracker? Thanks.
@danrubel ,
The CL above that Brian landed addresses this issue temporarily, marking the bug as P2 from P1.
There appears to be a bug in the Completion stack or analysis engine stack. An expression that is assumed to be resolved is not resolved when we go to look at the type.
LocalReferenceContributor.computeSuggestions calls to resolve all expressions, but then stack traces like the ones above, optype.dart>_OpTypeAstVisitor>visitIsExpression>typeNameSuggestionsFilter{}>staticType is null, when if should be dynamic at a minimum.
Assigning it to you as I don't have time to take a look soon. Feel free to reassign it to me.
Any insights to how to debug this kind of issue?
Removing milestone as this does not appear to be worked on
assumed stale
Here are again some exceptions I have seen on the command line.