Re: Questions about dmd source

2017-07-29 Thread ketmar via Digitalmars-d-learn
Francis Nixon wrote: I have two completely unrelated questions about the dmd source code. 1. What does the mtype.Type.dotExp method do? The documentation comment says that it "Accesses the members of the object e". I'm not sure exactly why I would want to do that? Is it for handling types spe

Re: Questions about dmd source

2017-07-29 Thread Anton Fediushin via Digitalmars-d-learn
On Sunday, 30 July 2017 at 06:18:16 UTC, Francis Nixon wrote: I have two completely unrelated questions about the dmd source code. 2. I've noticed there are some rather long methods in the dmd source, involving more than one goto; parse.d is particularly bad. Is there a reason for this/is it

Questions about dmd source

2017-07-29 Thread Francis Nixon via Digitalmars-d-learn
I have two completely unrelated questions about the dmd source code. 1. What does the mtype.Type.dotExp method do? The documentation comment says that it "Accesses the members of the object e". I'm not sure exactly why I would want to do that? Is it for handling types specified using an ident