TyrealHu / acorn-typescript

Alternative, TypeScript parser
https://www.npmjs.com/package/acorn-typescript?activeTab=readme
MIT License
145 stars 18 forks source link

fix: syntax error in escaped keyword property #19

Closed ota-meshi closed 1 year ago

ota-meshi commented 1 year ago

This PR fixes syntax error in escaped keyword property.

e.g.

class C {
 \\u0069n: string // <- escaped `in`
}
codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: -1.41 :warning:

Comparison is base (b549bab) 62.16% compared to head (2c11ea9) 60.75%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #19 +/- ## ========================================== - Coverage 62.16% 60.75% -1.41% ========================================== Files 1 1 Lines 2923 2923 Branches 959 959 ========================================== - Hits 1817 1776 -41 - Misses 1099 1138 +39 - Partials 7 9 +2 ``` | [Impacted Files](https://app.codecov.io/gh/TyrealHu/acorn-typescript/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tyreal+Hu) | Coverage Δ | | |---|---|---| | [src/index.ts](https://app.codecov.io/gh/TyrealHu/acorn-typescript/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tyreal+Hu#diff-c3JjL2luZGV4LnRz) | `60.75% <100.00%> (-1.41%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.