History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-23553
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Maxim Mossienko
Reporter: Eugene Schava
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

IDEA shows warning "unused function declaration" for inline functions

Created: 29 Nov 07 13:43   Updated: 13 Dec 07 23:15
Component/s: JavaScript
Fix Version/s: Selena 7.0.3, Diana 8243

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,361
Fixed in build: 8,053
Severity: Medium


 Description  « Hide
Try such code in javascript file:
function a()
{
b();

function b()
{

}
}

IDEA shows function "b" is unused

May be this bug is related to JS-inspections, but when I disable plugin - bug is still reproduced



 All   Comments   Work Log   Change History      Sort Order:
Quincy L. Acklen - 12 Dec 07 23:58
I see it in build 7584 as well, and it's very annoying inside my js libraries with functions that uses inner functions instead of prototypes (yellow everywhere). But I don't want to disable the inspection altogether...