E1016 Lexer Errors

number-trailing-decimal

decimal point without digits

When this occurs

Numbers like `123.`

Example error message

error[E1016]: invalid number format: decimal point must be followed by digits

How to fix

Add digits after the decimal point. Use `3.0` not `3.`.

Related errors