We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0887b59 commit 364656bCopy full SHA for 364656b
vlib/builtin/cfns.c.v
@@ -53,6 +53,7 @@ fn C.chmod(&char, u32) int
53
fn C.printf(&char, ...voidptr) int
54
55
fn C.puts(&char) int
56
+fn C.abs(f64) f64
57
58
fn C.fputs(str &char, stream &C.FILE) int
59
vlib/v/parser/containers.v
@@ -69,7 +69,7 @@ fn (mut p Parser) array_init() ast.ArrayInit {
69
// [100]u8
70
elem_type = p.parse_type()
71
if p.table.sym(elem_type).name == 'byte' {
72
- p.error('`byte` has been deprecated in favor of `u8`: use `[10]u8` instead of `[10]byte`')
+ p.error('`byte` has been deprecated in favor of `u8`: use `[10]u8{}` instead of `[10]byte{}`')
73
}
74
last_pos = p.tok.pos()
75
is_fixed = true
0 commit comments