[Issue 15352] template arguments matching error with delegates

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Nov 19 07:34:55 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15352

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86_64                      |All
                 OS|Windows                     |All

--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
With a debug build dmd, the test case will hit a dmd internal assertion.


DMD v2.069 DEBUG
core.exception.AssertError at dstruct.d(524): Assertion failure
----------------
0x0058599B in _d_assert
0x0044BB66 in StructDeclaration at c:\d2home\dmd2\src\dmd\src\dstruct.d(524)
0x0045D4FD in TemplateInstance at c:\d2home\dmd2\src\dmd\src\dtemplate.d(7557)
0x0045D554 in TemplateInstance at c:\d2home\dmd2\src\dmd\src\dtemplate.d(7573)
0x00459E8E in TemplateInstance at c:\d2home\dmd2\src\dmd\src\dtemplate.d(5769)
0x0045A377 in TemplateInstance at c:\d2home\dmd2\src\dmd\src\dtemplate.d(5956)
0x004BA921 in TypeInstance at c:\d2home\dmd2\src\dmd\src\mtype.d(7381)
0x004BA9CE in TypeInstance at c:\d2home\dmd2\src\dmd\src\mtype.d(7403)
0x00429769 in VarDeclaration at c:\d2home\dmd2\src\dmd\src\declaration.d(1153)
0x0046E03F in DeclarationExp at c:\d2home\dmd2\src\dmd\src\expression.d(6590)
0x004DBA33 in ExpStatement at c:\d2home\dmd2\src\dmd\src\statement.d(1143)
0x004DC36E in CompoundStatement at c:\d2home\dmd2\src\dmd\src\statement.d(1421)
0x00487619 in FuncDeclaration at c:\d2home\dmd2\src\dmd\src\func.d(1604)
0x0045A62C in TemplateInstance at c:\d2home\dmd2\src\dmd\src\dtemplate.d(6048)
0x0045D5A4 in TemplateInstance at c:\d2home\dmd2\src\dmd\src\dtemplate.d(7588)
0x0045A00A in TemplateInstance at c:\d2home\dmd2\src\dmd\src\dtemplate.d(5838)
0x0045A377 in TemplateInstance at c:\d2home\dmd2\src\dmd\src\dtemplate.d(5956)
0x0046B0E3 in ScopeExp at c:\d2home\dmd2\src\dmd\src\expression.d(5323)
0x00474002 in CallExp at c:\d2home\dmd2\src\dmd\src\expression.d(8939)
0x0049C6FF in ExpInitializer at c:\d2home\dmd2\src\dmd\src\init.d(775)
0x004296A8 in VarDeclaration at c:\d2home\dmd2\src\dmd\src\declaration.d(1129)
0x0046E03F in DeclarationExp at c:\d2home\dmd2\src\dmd\src\expression.d(6590)
0x004DBA33 in ExpStatement at c:\d2home\dmd2\src\dmd\src\statement.d(1143)
0x004DC36E in CompoundStatement at c:\d2home\dmd2\src\dmd\src\statement.d(1421)
0x00487619 in FuncDeclaration at c:\d2home\dmd2\src\dmd\src\func.d(1604)
0x00444774 in Module at c:\d2home\dmd2\src\dmd\src\dmodule.d(1038)
0x004ACEEA in tryMain at c:\d2home\dmd2\src\dmd\src\mars.d(1515)
0x004AD79F in _Dmain at c:\d2home\dmd2\src\dmd\src\mars.d(1693)
0x00586C36 in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
0x00586C0B in void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).runAll()
0x00586B23 in _d_run_main
0x004ADAE4 in main
0x0059AFCD in mainCRTStartup
0x7595337A in BaseThreadInitThunk
0x776D9882 in RtlInitializeExceptionChain
0x776D9855 in RtlInitializeExceptionChain

--


More information about the Digitalmars-d-bugs mailing list