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 234994

Summary: Export properties defined for a parameter from model
Product: javascript Reporter: Petr Pisl <ppisl>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 234990    

Description Petr Pisl 2013-08-26 07:36:43 UTC
There is now way how to find out, which properties were defined for an parameter of an method. The current implementation is able to work only in the context method, where the parameter is defined. So for example 

function addProperty(where) {
   where.print = function () {}
}

the model know, that the where parameter has defined method print. But then when is code

var where = {}
addProperty(where);

the where variable doesn't have property print, because we don't "export" the property to the where variable.
Comment 1 Petr Pisl 2013-12-17 13:47:51 UTC
Not implemented in NB 8.0