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.

Bug 237551 - with and object literal
Summary: with and object literal
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-23 13:15 UTC by Petr Hejl
Modified: 2013-10-23 13:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hejl 2013-10-23 13:15:52 UTC
while this works:
var test = {a : {b:"sss"}};
with(test.a) {
    // b in the code completion 
}

this does not:
with({a : {b:"sss"}}.a) {
    // b not in the code completion 
}