Subj : Re: Crash during compilation To : osfo From : Brendan Eich Date : Thu Aug 19 2004 03:02 pm Brendan Eich wrote: > I can't reproduce the problem, and in fact the above source produces > this error: > > js> is.mac = (a.b.c().d("")> 0) ? 1 : 0; > 14: ReferenceError: a is not defined > > when pasted into the JS shell, current trunk revision. Is that what you > see? I'll pull JS_150_RC5 and test there. Oops, missed the earlier error -- the JS shell gives an error per complete compile-able input unit (line, typically), and I was pasting to its stdin: js> is.sac = (a.b.c().d("")> 0) ? 1 : 0; 13: ReferenceError: a is not defined js> is.mac = (a.b.c().d("")> 0) ? 1 : 0; 14: ReferenceError: a is not defined Anyway, no a global variable is set, so something's missing from the testcase -- right? /be .