E1015 Lexer Errors

number-underscore-after-decimal

underscore after decimal point

When this occurs

Numbers like `123._45`

Example error message

error[E1015]: underscore cannot appear immediately after decimal point

How to fix

Remove underscore after the decimal point. Use `3.14` not `3._14`.

Related errors