1 2 3 4 5 6 7 8 9 10 11 12
export fn builtinCallBoolFunctionInlineWithVoid() void { @call(.always_inline, boolFunction, .{{}}); } fn boolFunction(_: bool) void {} // error // backend=stage2 // target=native // // :2:43: error: expected type 'bool', found 'void' // :5:20: note: parameter type declared here