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

Marcone marcone at email.com
Fri Mar 6 13:59:54 UTC 2020


On Friday, 6 March 2020 at 05:31:57 UTC, Mathias Lang wrote:
> 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 ?

I'm coming from Python


More information about the Digitalmars-d-learn mailing list