v2 / vlib / v / scanner / tests / float_literals_dot_err.out
6 lines · 6 sloc · 226 bytes · 4d5521bbf7cbce379a155363d67e33459d0ac136
Raw
1vlib/v/scanner/tests/float_literals_dot_err.vv:2:9: warning: float literals should have a digit after the decimal point, e.g. `1.0`
2 1 | fn main() {
3 2 | a := 1.
4 | ^
5 3 | println(a)
6 4 | }
7