Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigInt should be consistent with BigDecimal and throw an IllegalArgumentException when passed null #8232

Closed
scabug opened this issue Feb 4, 2014 · 4 comments
Assignees

Comments

@scabug
Copy link

scabug commented Feb 4, 2014

Please see mailing list for details:

https://groups.google.com/d/msg/scala-user/S6MJH3rXPTw/-rnw67-jaccJ

@scabug
Copy link
Author

scabug commented Feb 4, 2014

Imported From: https://issues.scala-lang.org/browse/SI-8232?orig=1
Reporter: david landis (dlandis)
Affected Versions: 2.11.0-M8

@scabug
Copy link
Author

scabug commented Mar 13, 2015

@Ichoran said:
To be consistent with other wrappers, conversions should return null when possible.

Where it is not possible (e.g. constructor parameter), BigInt and BigDecimal should be consistent.

@scabug
Copy link
Author

scabug commented Jan 9, 2016

@Ichoran said:
See also #9176

@SethTisue
Copy link
Member

let's just keep #9176 as the umbrella-ticket-of-record

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

No branches or pull requests

3 participants