v/vlib/v/scanner/tests/float_literals_dot_err.out

7 lines
224 B
Plaintext

vlib/v/scanner/tests/float_literals_dot_err.vv:2:9: error: float literals should have a digit after the decimal point, e.g. `5.0`
1 | fn main() {
2 | a := 1.
| ^
3 | println(a)
4 | }