On Friday, 9 September 2022 at 17:35:44 UTC, Dennis wrote:
On Friday, 9 September 2022 at 16:41:54 UTC, Andrey Zherikov wrote:What's about new `compileOutput` trait that returns compiler output?```dstatic assert(__traits(compileOutput, { <my code> }) == "message");```As a compiler dev, that sounds terrifying. It would make basically every change to dmd a breaking change.
Ah yes, it is so stupid that error message are part of the semantics