This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Changing object accessors causes errors in JavaScript | ||
---|---|---|---|
Product: | javascript | Reporter: | brettz9 <brettz9> |
Component: | Editor | Assignee: | Torbjorn Norbye <tor> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | emononen, sustaining |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
brettz9
2008-11-30 22:13:13 UTC
This is unrelated to E4X; this was a bug in incremental parsing, introduced in 6.5 for performance reasons. (I hope you meant you were using 6.1 instead of 6.0 since the 6.1 JavaScript support should be quite a bit better than in 6.0). A workaround is to modify any line outside the current function. I've fixed this in changeset 78dd0b148881. Regression test is JsParserTest.testIncremental7. I'm going to nominate this for a 6.5 patch; QE can you verify the fix in the trunk? Build 4455 or later from http://deadlock.netbeans.org/hudson/job/trunk/ Fixed in 7.0M1. Yes, sorry, I forgot to change that part of my post, that it was not only for E4X. And yes, sorry, I was using 6.1 (Early Access PHP). *** Issue 151366 has been marked as a duplicate of this issue. *** The issue hasn't passed the nomination process for 65patch2 by cut-off date. It has been moved to 65patch3. v. Transplanted to release65_fixes: http://hg.netbeans.org/release65_fixes/rev/122da9a771bd |