[Issue 17916] New: @__future does nothing for AggregateDeclarations
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Oct 19 11:56:53 UTC 2017
    
    
  
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: nobody at puremagic.com
          Reporter: razvan.nitu1305 at gmail.com
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.
--
    
    
More information about the Digitalmars-d-bugs
mailing list