Skip to content

assignment to a function-bound var should replace it or fail #222

@StefanKarpinski

Description

@StefanKarpinski
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.

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions