DMD: Is it possible change compile time errors to runtime errors in Dlang?

Mathias Lang pro.mathias.lang at gmail.com
Fri Mar 6 05:31:57 UTC 2020


On Friday, 6 March 2020 at 04:56:28 UTC, Marcone wrote:
> Is it possible change compile time errors to runtime errors in 
> Dlang?
> If yes, how can I make it?

No it's not possible, D is a statically typed language.
Why would you want errors that can be caught at compile time to 
happen at runtimes ?


More information about the Digitalmars-d-learn mailing list