Skip to content
This repository has been archived by the owner on Jan 28, 2019. It is now read-only.

Commit

Permalink
Restrict Fn metadata to uses for now
Browse files Browse the repository at this point in the history
  • Loading branch information
arrdem committed Apr 6, 2016
1 parent f4a3bda commit 47c8166
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/jvm/clojure/lang/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -3700,11 +3700,12 @@ static Expr parse(C context, ISeq form, String name) {

if(!noMeta) {
fmeta = fmeta
//.without(RT.LINE_KEY)
//.without(RT.COLUMN_KEY)
//.without(RT.FILE_KEY).without(retkey)
.assoc(usedKey, RT.list(QUOTE, usedVars))
.assoc(arglistsKey, RT.list(QUOTE, arities));
.without(RT.LINE_KEY)
.without(RT.COLUMN_KEY)
.without(RT.FILE_KEY)
.without(rettag)
//.assoc(arglistsKey, RT.list(QUOTE, arities))
.assoc(usedKey, RT.list(QUOTE, usedVars));
} else {
fmeta = null;
}
Expand Down

0 comments on commit 47c8166

Please sign in to comment.