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

Summary: with and object literal
Product: javascript Reporter: Petr Hejl <phejl>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

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 
}