Local functions infer attributes?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 27 21:04:21 PDT 2014


On 9/27/2014 8:50 PM, deadalnix wrote:
> On Sunday, 28 September 2014 at 03:08:09 UTC, Walter Bright wrote:
>> Since the function body is always present, inference should always be done. It
>> isn't costly. Should file an enhancement request on this.
>
> If you have a control flow graph to analyze it can become quite costly.

Nope! It happens as part of semantic analysis.


More information about the Digitalmars-d mailing list