@future attribute / @future keyword?

WebFreak001 d.forum at webfreak.org
Wed Mar 18 10:20:10 UTC 2020


I have read about @future before being some kind of opposite of 
deprecated. However when trying to search about it now again I 
can't find any mentions of it anywhere except on 
https://dlang.org/spec/traits.html#isFuture

It's difficult enough to search for "future" but even if limiting 
it to the spec it's the only search result: 
https://www.google.com/search?domains=dlang.org&sourceid=google-search&q=%40future&sitesearch=dlang.org%2Fspec

There is this "future compiler concept": 
https://forum.dlang.org/post/hjdstwzhcbrektlijvhm@forum.dlang.org
which now is however leads to a dead link, so here is a fixed 
link: 
https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1007.md

In the grammar @future isn't mentioned at all, has it been 
removed from the language but the trait was left over?

Maybe the documentation here should be improved to avoid 
confusion.


More information about the Digitalmars-d-learn mailing list