You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…yed as deprecated apache#6310
- apache#6310
- Fix the `NodeRangeLocator`'s end offset when the node is the `SingleFieldDeclaration` because a start offset is the start offset of not a type but a variable name
- Add unit tests
junichi11
added a commit
to junichi11/netbeans
that referenced
this issue
Aug 9, 2023
…yed as deprecated apache#6310
- apache#6310
- Fix the `NodeRangeLocator`'s end offset when the node is the `SingleFieldDeclaration` because a start offset is the start offset of not a type but a variable name
- Add unit tests
Apache NetBeans version
Apache NetBeans 18
What happened
A typed class field marked as deprecated is displayed as not deprecated.
Displaying a field in the navigator:

Displaying a field in an autocomplete:

Displaying a field in the editor when "Resolve Deprecated Elements" is checked:

How to reproduce
TestClass.php
file with theTestClass
class:Did this work correctly in an earlier version?
No / Don't know
Operating System
Debian GNU/Linux 12 (bookworm)
JDK
OpenJDK Runtime Environment 17.0.7+7-Debian-1deb12u1
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: