Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix span of nodes with decorators, parameter properties, and class members with accessibility #581

Merged

Conversation

dsherret
Copy link
Contributor

  • Spans of class members and classes should include decorators.
  • Fix hi position for class parameter properties.
  • Fix span of members with accessibility.

@dsherret dsherret changed the title Fix span of decorators, parameter properties, and class members with accessibility Fix span of nodes with decorators, parameter properties, and class members with accessibility Jan 11, 2020
@dsherret
Copy link
Contributor Author

I think the spans of function nodes with decorators might be still incorrect (not going to bother with them for this PR as they're not supported in typescript).

- Fix hi position for class parameter properties.
- Fix span of members with accessibility.
@dsherret dsherret force-pushed the fixClassAndClassMemberStartsToIncludeDecs branch from 9a50575 to b24421f Compare January 11, 2020 21:57
@kdy1 kdy1 merged commit e5004da into swc-project:master Jan 11, 2020
@dsherret dsherret deleted the fixClassAndClassMemberStartsToIncludeDecs branch January 11, 2020 23:42
bors bot pushed a commit that referenced this pull request Feb 6, 2020
@swc-project swc-project locked as resolved and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants