We're updating the issue view to help you get more done. 

defn doesn't put the right metadata on its fn value

Description

duplicate of #270

1 2 3 4 5 6 7 8 9 10 11 12 user=> (defn foo {:bar :baz} [] 42) #'user/foo user=> (meta #'foo) {:ns #<Namespace user>, :name foo, :file "NO_SOURCE_PATH", :line 221, :arglists ([]), :bar :baz} user=> (meta foo) {:ns #<Namespace user>, :name foo} ; the value has only the basic keys user=> (defn foo {:lucy :ethel} [] 43) #'user/foo user=> (meta #'foo) {:ns #<Namespace user>, :name foo, :file "NO_SOURCE_PATH", :line 224, :arglists ([]), :lucy :ethel} user=> (meta foo) ; the value has the previous metadata {:ns #<Namespace user>, :name foo, :file "NO_SOURCE_PATH", :line 221, :arglists ([]), :bar :baz}

Environment

None

Status

Assignee

Unassigned

Reporter

import

Labels

None

Approval

None

Patch

None

Fix versions

Priority