JuliaLang/julia — Issue #222: assignment to a function-bound var should replace it or fail
Author: StefanKarpinski
Created: 2011-10-15 23:51:15+00:00
State: open
Labels: bugs

```
julia> f() = 1

julia> f = 2
Methods for generic function f
f()

julia> f()
1
```

Either the `f = 2` should blow away the function object bound to `f` or it should throw an error.