def foo () a = bar() b = 1 "string" end # The return type of foo is string. # The full type of foo is ()->string.