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.
Summary: | Variable marked as unused in constructor and no property hint created. | ||
---|---|---|---|
Product: | javascript | Reporter: | xracoonx |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
xracoonx
2014-05-18 07:37:23 UTC
reproducible in 8.0 and trunk By the way, this code which I think is equivalent works fine: function Car(color) { var hasWheels = true; return { color: color, hasWheels: hasWheels }; } var redCar = new Car('red'); console.log(redCar.hasWheels); However, it seems not to create any hints... *** This bug has been marked as a duplicate of bug 223118 *** |