Open FMorschel opened 2 days ago
Repro:
class C { void foo(({void Function(int value) function}) record) {} void bar() { foo((function: _baz)); } }
This doesn't work with named or unnamed values.
Similar to https://github.com/dart-lang/sdk/issues/56719.
I volunteer to fix this.
Summary: Method assist for function-typed record fields doesn't trigger. This prevents code completion within record literals containing functions.
https://dart-review.googlesource.com/c/sdk/+/396561
Repro:
This doesn't work with named or unnamed values.
Similar to https://github.com/dart-lang/sdk/issues/56719.
I volunteer to fix this.