Skip to content

add nil as potential return value#65

Open
bbalconi wants to merge 1 commit intodanielberkompas:masterfrom
bbalconi:update_num_to_currency_spec
Open

add nil as potential return value#65
bbalconi wants to merge 1 commit intodanielberkompas:masterfrom
bbalconi:update_num_to_currency_spec

Conversation

@bbalconi
Copy link

@bbalconi bbalconi commented Aug 14, 2024

Noticed a type error on one of my repos when pattern matching a nil response. number_to_currency has a definition that returns nil, and there is also an example of such.

@bbalconi bbalconi changed the title sadd nil as potential return value add nil as potential return value Aug 14, 2024
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