DMD 2.092 and DIP 25

Max Samukha maxsamukha at gmail.com
Sat May 30 07:30:17 UTC 2020


On Saturday, 30 May 2020 at 07:00:07 UTC, Mike Parker wrote:

> I find it rather annoying, as I'm returning `const(char)*` and 
> not `char*`, but it is what it is. My question is, if I add 
> `return` to the function declarations, will this compile all 
> the way back to DMD 2.067 *without* `-preview=dip25`? It works 
> on 2.091.0. I always assumed a preview feature's syntax wasn't 
> supported without the preview switch.

https://run.dlang.io/is/aOZqww

Since      2.067.1: Success and no output


More information about the Digitalmars-d-learn mailing list