You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No parameter hints when invoking a callable class #5153
classFoo {
intcall(int a, String b) {
return a + b.length;
}
}
voidmain() {
final foo =Foo();
foo.call( // Auto-complete and hints are helpful.
}
when I write foo.call I get helpful auto-complete and hints about the signature of the method as expected, however I could call the same method using ():
voidmain() {
final foo =Foo();
foo( // No hints :(
}
changed the title [-]No auto-complete on calling a class with a `.call` method.[/-][+]No parameter hints when invoking a callable class[/+]on Jun 25, 2024
This is fixed by dart-lang/sdk@3fffa71. The change is in the Dart analysis server so will ship with a future Dart/Flutter SDK release rather than show up in the VS Code extension release.
Activity
[-]No auto-complete on calling a class with a `.call` method.[/-][+]No parameter hints when invoking a callable class[/+][analysis_server] Handle callable classes and function expressions fo…
DanTup commentedon Jul 25, 2024
This is fixed by dart-lang/sdk@3fffa71. The change is in the Dart analysis server so will ship with a future Dart/Flutter SDK release rather than show up in the VS Code extension release.