Skip to content

Commit

Permalink
munge field names in lookup thunks
Browse files Browse the repository at this point in the history
  • Loading branch information
richhickey committed Nov 12, 2009
1 parent 8b93c4f commit c58a6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jvm/clojure/lang/Compiler.java
Expand Up @@ -5648,7 +5648,7 @@ static Class compileLookupThunk(NewInstanceExpr ret, Symbol fld) throws Exceptio
gen.instanceOf(ret.objtype);
gen.ifZCmp(GeneratorAdapter.EQ, faultLabel);
gen.checkCast(ret.objtype);
gen.getField(ret.objtype, fld.name, ftype);
gen.getField(ret.objtype, munge(fld.name), ftype);
HostExpr.emitBoxReturn(ret,gen,fclass);
gen.goTo(endLabel);

Expand Down

0 comments on commit c58a6cf

Please sign in to comment.