Closed leigenstetter closed 10 months ago
Multi word return types do not work:
(function f() -> unsigned int (return 42))
generates
unsigned f() { return 42; }
The correct result is: unsigned int f() { return 42; }
unsigned int f() { return 42; }
It seems like only the car of the return type is considered.
Correct syntax is to use a list (function f() -> (unsigned int) (return 42))
Multi word return types do not work:
(function f() -> unsigned int (return 42))
generates
unsigned f() { return 42; }
The correct result is:
unsigned int f() { return 42; }
It seems like only the car of the return type is considered.