[Issue 15794] Lambda cannot get a chance to run its codegen
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Mon Mar 14 06:03:35 PDT 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15794
Kenji Hara <k.hara.pg at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |link-failure
           Hardware|x86_64                      |All
            Summary|Lambda mangled differently  |Lambda cannot get a chance
                   |after being passed as       |to run its codegen
                   |template argument           |
                 OS|Windows                     |All
--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Simen Kjaeraas from comment #1)
> Notice the lambda is not
> mentioned there at all:
That's the root cause. The aliased lambda function will get no chance to
generate its code, so if it's actually used, the link-failure happens.
Mangling is not related to the issue.
--
    
    
More information about the Digitalmars-d-bugs
mailing list