forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starlark: dict.setdefault should fail if frozen
... even if `setdefault` call did not update the dict. This is similar to bazelbuild#12519. Closes bazelbuild#12642. RELNOTES: dict.setdefault(key, ...) now fails if dict is frozen, even if it already contains key. This is an incompatible API change. PiperOrigin-RevId: 346093037
- Loading branch information
1 parent
cb83aa8
commit b07c00c
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters