2 ms·
Go: r, err:= fn() Compiles if r is already declared. Creates a new lexical scope that has no access to the outer r. So the outer r doesn't get set. And I
by hahahahhaah 9mo ago
Go:
r, err:= fn()
Compiles if r is already declared. Creates a new lexical scope that has no access to the outer r. So the outer r doesn't get set. And I get a bug!