Open
Description
Repro:
void foo(void _) {}
void bar({void value}) {}
void main() {
foo(0);
bar(value: 0);
}
When the value is required, we should replace it with null
, and when it isn't, we should remove the given parameter.
CC @bwilkerson
Repro:
void foo(void _) {}
void bar({void value}) {}
void main() {
foo(0);
bar(value: 0);
}
When the value is required, we should replace it with null
, and when it isn't, we should remove the given parameter.
CC @bwilkerson