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 226456 - used argument in function marked as unused
Summary: used argument in function marked as unused
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-21 12:21 UTC by Otaka
Modified: 2013-05-22 12:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Otaka 2013-02-21 12:21:37 UTC
function testFunction(MY_ARGUMENT) {//Bug, MY_ARGUMENT shows as unused, but it is used 
    (function() {
        someFunction({i: MY_ARGUMENT});//it is used here
    })();
}
Comment 1 Vladimir Riha 2013-05-22 12:33:25 UTC
Seems to be fixed now

Product Version: NetBeans IDE Dev (Build web-main-10588-on-20130522)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-43-generic-pae running on i386; UTF-8; en_US (nb)