Skip to content

isIdentifierText in scanner.ts doesn't match Identifier parsing anymore #32703

Closed
@ajafff

Description

@ajafff

TypeScript Version: 3.6.0-dev.20190804

Search Terms:

Expected behavior:

isIdentifierText should match what scan does.

Actual behavior:

The implementation was not updated to allow for astral symbols and escaped characters. This might cause some inconsistencies, for example when using an astral character in compilerOptions.reactNamespace.

Related Issues:
#32096, #32701, cc @weswigham

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFix AvailableA PR has been opened for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions