-
Notifications
You must be signed in to change notification settings - Fork 173
Closed
Description
Currently we define a function interface using:
def complex(x: f64, y: f64) -> c64:
passBut that is the same syntax as for an empty function. I think we should add an @interface decorator into ltypes, which would probably raise an exception if the function was ever being called (by CPython). In LPython, that would declare an interface, meaning the function with that name must be provided in global scope at some point before compiling to LLVM.
Metadata
Metadata
Assignees
Labels
No labels