-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-lspIssues with analysis server's support of Language Server ProtocolIssues with analysis server's support of Language Server Protocoltype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Repro:
void main() {
foo(40, callbackWithLongNameSoItGetsSplit: (value) => value);
}
void foo(
int value, {
required void Function(int value) callbackWithLongNameSoItGetsSplit,
}) {
print(value);
callbackWithLongNameSoItGetsSplit(value);
}
CC @DanTup
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-lspIssues with analysis server's support of Language Server ProtocolIssues with analysis server's support of Language Server Protocoltype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)