Skip to content

Conversation

@Haixing-Hu
Copy link

@Haixing-Hu Haixing-Hu commented Aug 24, 2025

Q A
Bug fix? yes
New feature? no
Breaking change? no
Deprecations? no
Tests added? yes
Fixed issues #2144
License Apache-2.0

- Fix parser.js to check node.static for class properties
- Add test case to verify static properties are parsed correctly
- Static properties now use correct longname (ClassName.prop) and scope (static)
- Fix prettier formatting issues in parser.js and test files
- All tests pass, confirming the fix doesn't break existing functionality
- Fixes issue jsdoc#2144
@Haixing-Hu Haixing-Hu changed the title fix: Static class properties incorrectly parsed with instance scope fix: #2146 Static class properties incorrectly parsed with instance scope Aug 25, 2025
@Haixing-Hu Haixing-Hu changed the title fix: #2146 Static class properties incorrectly parsed with instance scope fix: #2144 Static class properties incorrectly parsed with instance scope Aug 25, 2025
Copy link

@a2425rdl a2425rdl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haixing-Hu:fix-bug-2144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants