Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Emit base options for Integer() #72

Open
dgollahon opened this issue Mar 19, 2017 · 0 comments
Open

Emit base options for Integer() #72

dgollahon opened this issue Mar 19, 2017 · 0 comments

Comments

@dgollahon
Copy link
Owner

Simply forcing the use of Integer is actually kind of misleading/dangerous. Our goal with mutest should be to help people write correct software that is free of bugs but, while this is stricter than to_i in many ways, it has the surprising behavior of interpreting leading base information (ex: Integer('077') is not 77 since the 0 is interpreted as meaning 'octal').

See: mbj/mutant#704

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant