Bug 17916 – @__future does nothing for AggregateDeclarations
Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2017-10-19T11:56:53Z
Last change time
2023-07-19T10:17:34Z
Assigned to
No Owner
Creator
RazvanN
Comments
Comment #0 by razvan.nitu1305 — 2017-10-19T11:56:53Z
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.
Comment #1 by razvan.nitu1305 — 2023-07-19T10:17:34Z