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
Named constructor token color is broken with LSP #3374
Activity
DanTup commentedon Jun 1, 2021
I've got a fix for review at https://dart-review.googlesource.com/c/sdk/+/201831/ that will map constructor names like methods instead of classes:
They're also tagged with a custom modifier (
constructor) to allow customising them different to standard methods if desired.[analyzer] Tag constructor names as methods instead of classes in LSP…
DanTup commentedon Jun 1, 2021
Fixed by dart-lang/sdk@10b83a4. Since the change is in the server, it will show up in a future SDK release rather than a Dart-Code release.
[-]Factory method's token colour is broken with LSP[/-][+]Named constructor token color is broken with LSP[/+]