Should you be able to initialize a float with a char?

forkit forkit at gmail.com
Fri May 20 22:29:35 UTC 2022


On Friday, 20 May 2022 at 22:10:43 UTC, forkit wrote:
>

I'd like to see an option, for the compiler to output this 
information, when requested.

It does it already for other things (e.g GC).

- The location in the file where the cast occurred.
- The type being cast from.
- The type being cast to.
- The result of the cast analysis: upcast, downcast, or mismatch.
- Is it an explicit or implicit cast?
   (i.e. the programmer did it, or the compiler did it)




More information about the Digitalmars-d mailing list