ceylon/ceylon-compiler — Issue #372: Compiler barfs on literal -9223372036854775808 (Long.MIN_VALUE)
Author: tombentley
Created: 2012-02-09 10:31:58+00:00
State: open

The compiler throws a `NumberFormatException` when it tries to parse generate an expression for the literal `-9223372036854775808`.

I think this is because the negation is not part of the literal, so we're passing 9223372036854775808 to `Long.parseLong()` which is one more than `Long.MAX_VALUE`.