Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
function signature and dispatch behavior #136
At the moment, function return value signature isn't checked and serves as semantic annotation for reader, function with declared value of 1 or 2 might return 4. Also there is a less important issue with function dispatch. In example below, f1 for var ints doesn't get called with var x as argument.
Code runs, returning
I think the code should rather fail and in case of
first two lines of output should be