Bug 7773 – UCFS syntax on built-in attributes too?

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-03-25T12:21:00Z
Last change time
2012-03-31T02:20:04Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2012-03-25T12:21:05Z
Is UCFS syntax supposed to be supported in this case too? import std.stdio; void main() { (int.max).writeln(); // OK int.max.writeln(); // error } DMD 2.059head gives: test.d(4): no identifier for declarator int test.d(4): semicolon expected, not '.'
Comment #1 by k.hara.pg — 2012-03-30T01:55:06Z
Comment #2 by github-bugzilla — 2012-03-30T22:50:29Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/d7f3352f1fbd25fb4adfb5ef611924bf1ffd4919 Merge pull request #850 from 9rnsr/fix7773 fix Issue 7773 - UCFS syntax on built-in attributes too?