| Priority |
Normal |
| Type | Bug |
| State | Fixed |
| Assignee | Maxim Mossienko |
| Subsystem | Code Analysis. Inspection |
| Affected versions |
No affected versions
|
| Fixed in |
No fix versions
|
| Fixed in build |
Next build |
| Build |
7744
|
| Fixed in build |
8242
|
| Subsystems |
0, 0, 0, 0
|
| Severity |
0
|
IDEA-43229 |
IDEA shows warning "unused function declaration" for inline functions in 7.0.3 build 7744 (re-open IDEADEV-23553) |
|
|
Nonlocal symbols (top level functions / variables) are not checked for usability
I just can't believe that IDEA didn't used to report top level functions not used. I mean most people wouldn't want to nest anyhow (or even know that you can). Of the people that do know i think they tend towards prototyping javascript "objects".
I even recall a feature request to indicate unused/ureachable/unreferenced functions in the projects (the would be really cool but seems difficult). How would that have been suggested if top level functions aren't checked.
You've left me scratching my head. I'll check and report back.