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
Hmmm... I just noticed that the json output doesn't have a span specific to the ident. I feel like it should. Maybe the JSON output is considered correct and only the rust span is wrong.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
Binding identifier span doesn't include the type annotation. See here how it's 20-21:
Input code
Config
No response
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.7.0&code=H4sIAAAAAAAAA0srzUsuyczPUyhJLS7R4OVSAIJEK4W80tyk1CJeLk2F6loAKw2U9iMAAAA%3D&config=H4sIAAAAAAAAA21QOw7CMAzde4rKMwPqwMAdmDiBFVwU1HxkOxJV1buTtA0tEksUv4%2Bf7alpW3iJgWs75W8uIrIQf%2BuMyOgV3xkBHSOJYRsVTpVVKVSPg9ACzSsDivwkLS6S7tx1mwOGEISqY8Oc9bYfj5kmuMgk8issUvTPgf4nMnrpA7tjIyY0egAyZF0MrPeQ2JRG4KO7rrLTLuLk1bqFx6TBoVoDGz039V2iwYVHWmbaTljOtC5%2BgV1Ud%2FzuA1Zu1amcqJk%2FtsEHsI4BAAA%3D
SWC Info output
No response
Expected behavior
Should include the type annotation
Actual behavior
It only includes the identifier
Version
1.7.0
Additional context
No response
The text was updated successfully, but these errors were encountered: