Subj : Re: Error in decompiling To : Martin Honnen From : Brendan Eich Date : Mon Jan 19 2004 03:08 pm Martin Honnen wrote: > Does that also fix object literals in a function body where a property > name is a keyword? > With the xpcshell that comes with Mozilla 1.6 I get > > js> function f () { var obj = { 'if': false }; } > js> f > > function f() { > var obj = {if:false}; > } > > which is wrong too. Yes -- the decompiler has numerous such bugs to-do with JOF_PROP format bytecodes. I'm patching in the new bug http://bugzilla.mozilla.org/show_bug.cgi?id=231518. Thanks for the followup. /be .