Function pointers/delegates default args were stealth removed?
Robert Clipsham
robert at octarineparrot.com
Tue Aug 28 12:27:46 PDT 2012
On Tuesday, 28 August 2012 at 06:53:15 UTC, Jacob Carlborg wrote:
> On 2012-08-27 22:53, Walter Bright wrote:
>
>> The language design requires a 1:1 mapping of mangling to
>> types. Hence
>> the compiler design to use the mangling as a hashmap key of
>> types. The
>> failure of that approach in this case points to a problem in
>> the
>> language design, not a bug in the compiler.
>
> How does this then work when the body of the anonymous
> functions are different? How will they be identified?
The body of the function has nothing to do with its type.
More information about the Digitalmars-d
mailing list