@deprecated will soon have an optional message Issue 5481 && https://github.com/D-Programming-Language/dmd/pull/463 I think we could use this for @disable too. E.g. when a user upgrades a library and some code ends up calling a method which is now disabled it would be nice if there was an error message stating why the method has become disabled.
Relevant discussion: http://forum.dlang.org/thread/mailman.1546.1372383644.13711.digitalmars-d-learn@puremagic.com
*** Issue 11999 has been marked as a duplicate of this issue. ***
Just wanted to file this too. Would help to improve error messages.
Yay
Yay? Was there a pull request that implemented this?
Ehm, I conflated @disable with @deprecated.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17557 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB