sdk
sdk copied to clipboard
Pattern destruction missing keyword/type completion on inner pattern member suggestion
Repro:
class A {
A([this.a]);
A? a;
}
void main() {
final a = A(A(A()));
if (a case A(a: A(:^))) {}
}
This should show a and also add var in front, but this inner case doesn't seem to have been resolved correctly by https://github.com/dart-lang/sdk/issues/60604. I'll take a look at this.