Skip to content

use case on oResultPrivate in map*Err for strictCaseObjects#59

Open
aryonoco wants to merge 1 commit into
arnetheduck:masterfrom
aryonoco:upstream-map-err-case
Open

use case on oResultPrivate in map*Err for strictCaseObjects#59
aryonoco wants to merge 1 commit into
arnetheduck:masterfrom
aryonoco:upstream-map-err-case

Conversation

@aryonoco
Copy link
Copy Markdown

Replaces the two remaining `if self.oResultPrivate:` sites in `mapConvertErr` and `mapCastErr` with `case`, matching the style already used in `withAssertOk` and every other map/flatMap/iterator in the file. Unblocks `{.experimental: "strictCaseObjects".}` consumers; no behavioural change for existing callers.

Replace the remaining `if self.oResultPrivate:` sites in
mapConvertErr and mapCastErr with `case`, matching the style used
in withAssertOk and every other map/flatMap/iterator in the file.
Unblocks {.experimental: "strictCaseObjects".} consumers; no
behavioural change for existing callers.
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.

1 participant