Last updated 8 months ago
Compiler found a definition with more than one return type:
function foo<cdecl>(): int, int // error: Foreign functions can not return more than one value.
remove extra return types:
function foo<cdecl>(): int
if this is not a foreign function, but a local SCM function that can return multiple types, remove angle brackets:
function foo(): int, int
Note that is this case you must also provide a .