Skip to content
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

Revert PbMap._wrappedMap empty map value #904

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

osa1
Copy link
Member

@osa1 osa1 commented Nov 29, 2023

Changing Map.unmodifiable to a static <Never, Never>{} causes runtime type errors in firstWhere uses, in code like map.keys.firstWhere(f1, orElse: f2).


cl/585873554

Changing `Map.unmodifiable` to a static `<Never, Never>{}` causes
runtime type errors in `firstWhere` uses, in code like
`map.keys.firstWhere(f1, orElse: f2)`.
@osa1 osa1 requested a review from mkustermann November 29, 2023 10:23
@osa1 osa1 merged commit bb19774 into google:master Nov 29, 2023
17 of 18 checks passed
@osa1 osa1 deleted the revert_wrapped_map branch November 29, 2023 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants