cast to pure function stop work after upgrade

Tejas notrealemail at gmail.com
Mon Aug 2 16:44:57 UTC 2021


On Monday, 2 August 2021 at 15:10:06 UTC, vit wrote:
> On Monday, 2 August 2021 at 11:28:46 UTC, Tejas wrote:
>> [...]
>
> Try this:
> ```d
> void main(){
>     fp = cast(typeof(fp))&VFORMAT; //fails
> }
> ```

Agh, stupid me.

You the man!!


More information about the Digitalmars-d-learn mailing list