if(int a = 0) lowered to "if (int a = (int a = 1;) , a)" ?

aliak something at something.com
Wed Aug 8 13:13:24 UTC 2018


On Wednesday, 8 August 2018 at 12:58:24 UTC, Alex wrote:
> On Wednesday, 8 August 2018 at 11:58:50 UTC, aliak wrote:
>> Found this out while just looking at lowerings.
>
> How do you "look at lowerings"? Is there a list, I'm not aware 
> of? ;)

Go here https://run.dlang.io/is/tJ4vXm and click on the AST 
button :) It shows you what the code turns in to after all the 
semantic passes.


More information about the Digitalmars-d-learn mailing list