Bug 8503 – UFCS fails on integer literal with Unicode identifier

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-08-03T14:03:00Z
Last change time
2012-08-19T22:55:32Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
edmccard

Comments

Comment #0 by edmccard — 2012-08-03T14:03:16Z
void α(int d) {} void main() { 1.α(); // Error: found 'α' when expecting ';' following statment }
Comment #1 by edmccard — 2012-08-03T14:21:56Z
Comment #2 by github-bugzilla — 2012-08-19T22:35:48Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ea5cc5f8d43167b594d78de3141374985fc5b898 Add test with 0 for issue 8503 https://github.com/D-Programming-Language/dmd/commit/21191fd7a2a593bd2b2c830c2cb0d6f85c6ac522 Merge pull request #1071 from edmccard/issue8503 Fix Issue 8503 - UFCS fails on integer literal with Unicode identifier