Skip to content

Add more integer to boolean conversions - #153

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

sagikazarmark merged 1 commit into
spf13:masterfrom
yveshield:more-int-to-bool

Conversation

@yveshield

@yveshield yveshield commented Aug 16, 2022 •

Copy link
Copy Markdown
Contributor

Signed-off-by: Yveshield [email protected]

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

@sagikazarmark sagikazarmark left a comment

Copy link
Copy Markdown
Collaborator

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