atto icon indicating copy to clipboard operation
atto copied to clipboard

Numeric.bigInt can fail in scala-js

Open tpolecat opened this issue 6 years ago • 0 comments

The numeric parsing methods in the JDK stubs delegate to parseInt, etc., in Javascript which is not as lenient as the parsers on the JVM. In particular c.isDigit doesn't guarantee that Integer.parseInt will work. See https://github.com/gemini-hlsw/gem/issues/201

tpolecat avatar Jan 24 '18 21:01 tpolecat