Julia: 0.5: `1.im` gives error `ERROR: syntax: invalid numeric constant "1.i"`

Created on 27 May 2016  路  2Comments  路  Source: JuliaLang/julia

Not sure if this is intentional or not, but the syntax 1.im now gives an error

ERROR: syntax: invalid numeric constant "1.i"

If this is intentional, I would have expected a more explanatory error message.

error handling parser

Most helpful comment

Maybe it would be better to say "numeric literals ending in . cannot be implicitly multiplied" or similar?

All 2 comments

Maybe it would be better to say "numeric literals ending in . cannot be implicitly multiplied" or similar?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iamed2 picture iamed2  路  3Comments

manor picture manor  路  3Comments

wilburtownsend picture wilburtownsend  路  3Comments

Keno picture Keno  路  3Comments

TotalVerb picture TotalVerb  路  3Comments