Skip to main content

E0043: Return Type Not Allowed

A UTXO main fn was declared with a return type.

UTXO main fns always have an automatically implied return type.

How to fix

Remove the return type annotation from the main fn.

utxo {
main fn new() {
// ...
}
}