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 '.'