6 Jan
2010
6 Jan
'10
12:30 p.m.
Mike; What about this:
Well; fun int foo( int arg) { return 3; } fun void bar( int arg) { <<<"boring">>>; } //overload fun void bar ( fun arg) { <<<"fun">>>; } 1 => foo => bar; Would that print "fun" or "boring"? That last line is a case where we refer to the function without parentheses yet still expect it to be called and to return under current syntax. Yours, Kas.