-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Do NFKC normalization in lexer #2253
Copy link
Copy link
Closed
Labels
A-UnicodeArea: UnicodeArea: UnicodeA-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.P-lowLow priorityLow priority
Metadata
Metadata
Assignees
Labels
A-UnicodeArea: UnicodeArea: UnicodeA-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.P-lowLow priorityLow priority
Type
Fields
Give feedbackNo fields configured for issues without a type.
next_token_innerin the lexer has a comment saying to do NKFC normalization. I have no idea what that is, but I guess we should do it.reference: NFKC is one of four unicode Normalization Forms.
reference: UAX-31 supplies guidelines for use of normalization with identifiers.