shiika
shiika copied to clipboard
Fix return value of void methods
This should be valid:
def foo; end
a = foo # a is the instance of Void
cf.
let a = (); // Unit type
This should be achieved not by returning Void
from every method (especially methods written in Rust), inserting Hir::ConstRef
.