Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Maxim Mossienko 
Subsystem
JavaScript 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7361
Fixed in build
8053
Severity
0
  • Submitted by   Eugene Schava
    2 years ago (29 Nov 2007 13:43)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:55)
  • Jira: IDEA-42099
    (history, comments)

IDEA-42099

IDEA shows warning "unused function declaration" for inline functions

1
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

Issue was resolved
Comments (1)
 
History (1)
 
Links
 
Quincy L. Acklen
  Quincy L. Acklen
12 Dec 2007 23:58
(2 years ago)
#permalink
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...