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 is hinted unused if used in file included later, but not if included before | ||
---|---|---|---|
Product: | php | Reporter: | berniev |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
berniev
2012-01-18 02:34:19 UTC
It's really hard and performance consuming to implement this behavior. But: 1) $a in fileB is NOT hinted as "unsued" because it IS used (in assignment with $b), so everything is ok. 2) ...here is no $a so it can't be hinted ;) but $c is hinted, because we can't really go through included files...as I wrote, it's really performance consuming... ...so it's really feature. Enhancement is a correct issue type :) Thanks for your cooperation! |