E1014 Lexer Errors

number-underscore-before-decimal

underscore before decimal point

When this occurs

Numbers like `123_.45`

Example error message

error[E1014]: underscore cannot appear immediately before decimal point

How to fix

Remove underscore before the decimal point. Use `3.14` not `3_.14`.

Related errors