1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
comptime { const a = @as(); } comptime { const b = @bitCast(); } comptime { const c = @as(u32); } // error // // :2:15: error: expected 2 arguments, found 0 // :5:15: error: expected 1 argument, found 0 // :8:15: error: expected 2 arguments, found 1