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.
Have a code: function getInfo() { console.log("getInfo from global"); } function getGlobal() { console.log("global"); } var A = { getInfo: function () { console.log("getInfo from A"); }, getName: function() { console.log("A"); }, B: {}, monitor : 24 }; with(A) { getInfo(); getGlobal(); getName(); B.getName = function () { console.log("B"); }; B.createBuf = function () { console.log("create buf"); }; } A.getName(); A.B.getName(); and invoke cc after A.B. at the last line. Only getName is offered, createBuf should be as well.
Fixed at branch javascript-with
Reopening until it will not be in trunk
Added to the web-main in the change: http://hg.netbeans.org/web-main/rev/5cbdcccf7a98