https://issues.dlang.org/show_bug.cgi?id=17916
Issue ID: 17916
Summary: @__future does nothing for AggregateDeclarations
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
The future keyword should work in all cases that deprecation works. The dip
says that all Dsymbols could work with @__future, but isFuture is implemented
in the Declaration AST node.
Probably it should be moved in Dsymbol and the associated logic should be
implemented for AggregateDeclarations and global variables.
--