Skip to content

Add more integer to boolean conversions#153

Merged
sagikazarmark merged 1 commit intospf13:masterfrom
yveshield:more-int-to-bool
Feb 5, 2023
Merged

Add more integer to boolean conversions#153
sagikazarmark merged 1 commit intospf13:masterfrom
yveshield:more-int-to-bool

Conversation

@yveshield
Copy link
Copy Markdown
Contributor

@yveshield yveshield commented Aug 16, 2022

Signed-off-by: Yveshield yveshield@gmail.com

If int type can be converted to bool type, why can't int8? and int16, etc.

Fixes #98
Fixes #134
Fixes #135
Fixes #137

@yveshield yveshield force-pushed the more-int-to-bool branch 3 times, most recently from a483b8a to 43e7646 Compare September 3, 2022 05:17
Signed-off-by: Yveshield <yveshield@gmail.com>
Copy link
Copy Markdown
Collaborator

@sagikazarmark sagikazarmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@sagikazarmark sagikazarmark merged commit ba0a5b6 into spf13:master Feb 5, 2023
@andig andig mentioned this pull request May 19, 2023
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.

Return error result when transform digital type (except int) to bool FeatureRequest: ToBool add int* support cast.ToBool return wrong value for int

2 participants