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 - Export properties defined for a parameter from model
Summary: Export properties defined for a parameter from model
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Petr Pisl
Depends on:
Blocks: 234990
  Show dependency tree
Reported: 2013-08-26 07:36 UTC by Petr Pisl
Modified: 2013-12-17 13:47 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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 = {}

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