-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LinkedHashMap<String, T>();
is changed to <String, T>{};
after dart fix
#59934
Comments
Summary: |
It's not typed the same, but The fix shouldn't break your typed code. |
Okay. I guess I was confused by the documentation. https://api.dart.dev/dart-core/Map-class.html
The above does not directly suggested that the default implementation of After reading your responses, that only when I saw down the page:
Maybe it will help to put that statement in the documentation text section. |
It is definitely a bug if While the documentation for
Nitpick: I disagree with 'never' here. I would say 'usually no reason'.
I always use the type |
is changed to
<String, T>{}; after
dart fix`LinkedHashMap<String, T>();
is changed to <String, T>{};
after dart fix
I agree. |
LinkedHashMap<String, T>();
is changed to<String, T>{};
afterdart fix
Map
is not the same asLinkedHashMap
.The text was updated successfully, but these errors were encountered: