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: | Class constant not recognized when called from instance in object property | ||
---|---|---|---|
Product: | php | Reporter: | Ninj |
Component: | Code | Assignee: | Tomas Mysik <tmysik> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | Ninj |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Ninj
2016-09-07 10:00:26 UTC
IMO duplicate of #258527. Thanks for reporting. *** This bug has been marked as a duplicate of bug 258527 *** Indeed it probably has the same technical background but there is an important difference: in my case, using simple variables works fine (NB recognize the constant), but it's underlined as "error", in red, when used like this: ($this->field)::CONSTANT (In reply to Ninj from comment #2) > ($this->field)::CONSTANT In such a case, see issue #259111. Thanks. You are right, i didn't find see this one. Thank you. I can then just hope for a soon fix, but i understand it's harsh. |