digitalmars.D.bugs - [Issue 20269] New: Inconsistencies between `Token.toChar` and
- d-bugmail puremagic.com (21/21) Oct 05 2019 https://issues.dlang.org/show_bug.cgi?id=20269
https://issues.dlang.org/show_bug.cgi?id=20269 Issue ID: 20269 Summary: Inconsistencies between `Token.toChar` and various error messages Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: minor Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: desisma heidel.beer `Token.toChar()` (defined in module `dmd.tokens`) differs from various other strings found in the frontend (especially thinking of error messages). For example: `Token.toChar(TOK.variable)` returns `"var"`, while in several other places the frontend uses the term `variable` instead. All this should soon or later get unified. I don't think there's a valid reason to keep those inconsistencies. --
Oct 05 2019