www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20556] New: format!"%s"(T*) results in dmd assertion failure

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

          Issue ID: 20556
           Summary: format!"%s"(T*) results in dmd assertion failure
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: nightmarex1337 hotmail.com

Reduced test case:

string doStuff(char* str)
{
    import std.format : format;
    return format!"%s"(str);
}

I can't trigger this on run.dlang.io so it seems like windows specific but
someone needs to comfirm. Pointer type or format character makes no difference.

ERROR: This is a compiler bug.
Please report it via https://issues.dlang.org/enter_bug.cgi
with, preferably, a reduced, reproducible example and the information below.
DustMite (https://github.com/CyberShadow/DustMite/wiki) can help with the
reduction.
---
DMD v2.090.0-dirty
predefs   DigitalMars Windows CRuntime_DigitalMars CppRuntime_DigitalMars
LittleEndian D_Version2 all D_InlineAsm D_InlineAsm_X86 X86 Win32 assert
D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat
binary    C:\D\dmd2\windows\bin\dmd.exe
version   v2.090.0-dirty
config    C:\D\dmd2\windows\bin\sc.ini
DFLAGS    -IC:\D\dmd2\windows\bin\..\..\src\phobos
-IC:\D\dmd2\windows\bin\..\..\src\druntime\import
---

core.exception.AssertError dmd\dinterpret.d(7320): Assertion failure
----------------
0x00635577 in _d_assertp
0x00443026 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(3821)
0x004428BE in
_D3dmd10dinterpret11Interpreter21interpretAssignCommonMFCQCd10expression6BinExpPFKxSQDe7globals3D3A72896DE1FC4022D1CC32EA27FC43B
at C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(3642)
0x004444F6 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(4235)
0x00559A46 in Visitor at C:\Users\vagrant\clones\dmd\src\dmd\visitor.d(84)
0x00496145 in ConstructExp at
C:\Users\vagrant\clones\dmd\src\dmd\expression.d(5806)
0x00448FA7 in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.expression.Expression,
dmd.dinterpret.InterState*, dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6265)
0x0044902F in dmd.expression.Expression
dmd.dinterpret.interpretRegion(dmd.expression.Expression,
dmd.dinterpret.InterState*, dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6292)
0x0043F0CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(2248)
0x0049324D in DeclarationExp at
C:\Users\vagrant\clones\dmd\src\dmd\expression.d(3934)
0x00448FA7 in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.expression.Expression,
dmd.dinterpret.InterState*, dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6265)
0x0043C23B in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(774)
0x00534405 in ExpStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(746)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043BE25 in
_D3dmd10dinterpret17interpretFunctionFPSQBm10expression8UnionExpCQCl4func15FuncDeclarationPSQDmQ2994BDB1E93C1C945F8378BA31A8957D
at C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(626)
0x00445636 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(4800)
0x00494EA9 in CallExp at C:\Users\vagrant\clones\dmd\src\dmd\expression.d(4949)
0x00448FA7 in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.expression.Expression,
dmd.dinterpret.InterState*, dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6265)
0x0043C23B in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(774)
0x00534405 in ExpStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(746)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043BE25 in
_D3dmd10dinterpret17interpretFunctionFPSQBm10expression8UnionExpCQCl4func15FuncDeclarationPSQDmQ2994BDB1E93C1C945F8378BA31A8957D
at C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(626)
0x00445636 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(4800)
0x00494EA9 in CallExp at C:\Users\vagrant\clones\dmd\src\dmd\expression.d(4949)
0x00448FA7 in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.expression.Expression,
dmd.dinterpret.InterState*, dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6265)
0x0043C23B in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(774)
0x00534405 in ExpStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(746)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C568 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(892)
0x00534E99 in ScopeStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(1045)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043D0EC in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(1304)
0x00535CF1 in CaseStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(1673)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C568 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(892)
0x00534E99 in ScopeStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(1045)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C35F in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(815)
0x00534DA1 in UnrolledLoopStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(1003)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C568 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(892)
0x00534E99 in ScopeStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(1045)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043D04D in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(1280)
0x00535C41 in SwitchStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(1643)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043D2D4 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(1382)
0x00536C75 in LabelStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(2365)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C568 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(892)
0x00534E99 in ScopeStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(1045)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043CCCA in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(1169)
0x00535349 in ForStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(1266)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043BE25 in
_D3dmd10dinterpret17interpretFunctionFPSQBm10expression8UnionExpCQCl4func15FuncDeclarationPSQDmQ2994BDB1E93C1C945F8378BA31A8957D
at C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(626)
0x00445636 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(4800)
0x00494EA9 in CallExp at C:\Users\vagrant\clones\dmd\src\dmd\expression.d(4949)
0x00448FA7 in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.expression.Expression,
dmd.dinterpret.InterState*, dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6265)
0x0044902F in dmd.expression.Expression
dmd.dinterpret.interpretRegion(dmd.expression.Expression,
dmd.dinterpret.InterState*, dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6292)
0x0044213A in
_D3dmd10dinterpret11Interpreter21interpretAssignCommonMFCQCd10expression6BinExpPFKxSQDe7globals3D3A72896DE1FC4022D1CC32EA27FC43B
at C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(3427)
0x004444F6 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(4235)
0x00559A46 in Visitor at C:\Users\vagrant\clones\dmd\src\dmd\visitor.d(84)
0x00496145 in ConstructExp at
C:\Users\vagrant\clones\dmd\src\dmd\expression.d(5806)
0x00448FA7 in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.expression.Expression,
dmd.dinterpret.InterState*, dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6265)
0x0044902F in dmd.expression.Expression
dmd.dinterpret.interpretRegion(dmd.expression.Expression,
dmd.dinterpret.InterState*, dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6292)
0x0043F0CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(2248)
0x0049324D in DeclarationExp at
C:\Users\vagrant\clones\dmd\src\dmd\expression.d(3934)
0x00448FA7 in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.expression.Expression,
dmd.dinterpret.InterState*, dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6265)
0x0043C23B in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(774)
0x00534405 in ExpStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(746)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C568 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(892)
0x00534E99 in ScopeStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(1045)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x00449162 in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.statement.Statement, dmd.dinterpret.InterState*)
at C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6337)
0x0043D3B0 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(1407)
0x00536319 in TryCatchStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(1980)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043C2CF in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(792)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0044913E in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.statement.Statement,
dmd.dinterpret.InterState*) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6330)
0x0043BE25 in
_D3dmd10dinterpret17interpretFunctionFPSQBm10expression8UnionExpCQCl4func15FuncDeclarationPSQDmQ2994BDB1E93C1C945F8378BA31A8957D
at C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(626)
0x00445636 in Interpreter at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(4800)
0x00494EA9 in CallExp at C:\Users\vagrant\clones\dmd\src\dmd\expression.d(4949)
0x00448FA7 in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.UnionExp*, dmd.expression.Expression,
dmd.dinterpret.InterState*, dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6265)
0x00448FF1 in dmd.expression.Expression
dmd.dinterpret.interpret(dmd.expression.Expression, dmd.dinterpret.InterState*,
dmd.dinterpret.CtfeGoal) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(6274)
0x0043A584 in dmd.expression.Expression
dmd.dinterpret.ctfeInterpret(dmd.expression.Expression) at
C:\Users\vagrant\clones\dmd\src\dmd\dinterpret.d(90)
0x0048E7BB in Expression at
C:\Users\vagrant\clones\dmd\src\dmd\expression.d(1494)
0x004CB908 in
_D3dmd7initsem19initializerSemanticRCQBj4init11InitializerPSQCg6dscope5ScopeCQCx5mtype4TypeEQDmQ8D2D55483C85C87A16FA04ED0441ECC6
at C:\Users\vagrant\clones\dmd\src\dmd\initsem.d(395)
0x004CA791 in initializerSemantic at
C:\Users\vagrant\clones\dmd\src\dmd\initsem.d(546)
0x0052DF7A in Semantic2Visitor at
C:\Users\vagrant\clones\dmd\src\dmd\semantic2.d(261)
0x0043717D in VarDeclaration at
C:\Users\vagrant\clones\dmd\src\dmd\declaration.d(1638)
0x0052DA0D in semantic2 at C:\Users\vagrant\clones\dmd\src\dmd\semantic2.d(81)
0x0052DD2D in Semantic2Visitor at
C:\Users\vagrant\clones\dmd\src\dmd\semantic2.d(172)
0x004858F5 in TemplateInstance at
C:\Users\vagrant\clones\dmd\src\dmd\dtemplate.d(7328)
0x0052DA0D in semantic2 at C:\Users\vagrant\clones\dmd\src\dmd\semantic2.d(81)
0x00477028 in void
dmd.dsymbolsem.templateInstanceSemantic(dmd.dtemplate.TemplateInstance,
dmd.dscope.Scope*, dmd.root.array.Array!(dmd.expression.Expression).Array*) at
C:\Users\vagrant\clones\dmd\src\dmd\dsymbolsem.d(6182)
0x0046ED0B in DsymbolSemanticVisitor at
C:\Users\vagrant\clones\dmd\src\dmd\dsymbolsem.d(2817)
0x004858F5 in TemplateInstance at
C:\Users\vagrant\clones\dmd\src\dmd\dtemplate.d(7328)
0x00469011 in dsymbolSemantic at
C:\Users\vagrant\clones\dmd\src\dmd\dsymbolsem.d(565)
0x005543A7 in
_D3dmd7typesem7resolveFCQw5mtype4TypeKxSQBm7globals3LocPSQCd6dscope5ScopePCQCv10expression10Expr833C188FF4EA48EC2A2C94C8E48B96BE
at C:\Users\vagrant\clones\dmd\src\dmd\typesem.d(2851)
0x00553ADF in void dmd.typesem.resolve(dmd.mtype.Type, ref
const(dmd.globals.Loc), dmd.dscope.Scope*, dmd.expression.Expression*,
dmd.mtype.Type*, dmd.dsymbol.Dsymbol*, bool) at
C:\Users\vagrant\clones\dmd\src\dmd\typesem.d(3100)
0x0050BD44 in TypeInstance at C:\Users\vagrant\clones\dmd\src\dmd\mtype.d(5346)
0x004777EE in void
dmd.dsymbolsem.aliasSemantic(dmd.declaration.AliasDeclaration,
dmd.dscope.Scope*) at C:\Users\vagrant\clones\dmd\src\dmd\dsymbolsem.d(6439)
0x00469615 in DsymbolSemanticVisitor at
C:\Users\vagrant\clones\dmd\src\dmd\dsymbolsem.d(747)
0x00435FB1 in AliasDeclaration at
C:\Users\vagrant\clones\dmd\src\dmd\declaration.d(952)
0x00469011 in dsymbolSemantic at
C:\Users\vagrant\clones\dmd\src\dmd\dsymbolsem.d(565)
0x004A5DA5 in ExpressionSemanticVisitor at
C:\Users\vagrant\clones\dmd\src\dmd\expressionsem.d(5090)
0x0049324D in DeclarationExp at
C:\Users\vagrant\clones\dmd\src\dmd\expression.d(3934)
0x004B51BC in expressionSemantic at
C:\Users\vagrant\clones\dmd\src\dmd\expressionsem.d(11292)
0x00537703 in StatementSemanticVisitor at
C:\Users\vagrant\clones\dmd\src\dmd\statementsem.d(177)
0x00534405 in ExpStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(746)
0x0053763C in statementSemantic at
C:\Users\vagrant\clones\dmd\src\dmd\statementsem.d(127)
0x0053791E in StatementSemanticVisitor at
C:\Users\vagrant\clones\dmd\src\dmd\statementsem.d(235)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0053763C in statementSemantic at
C:\Users\vagrant\clones\dmd\src\dmd\statementsem.d(127)
0x0052FC9C in Semantic3Visitor at
C:\Users\vagrant\clones\dmd\src\dmd\semantic3.d(585)
0x004BBED9 in FuncDeclaration at
C:\Users\vagrant\clones\dmd\src\dmd\func.d(2512)
0x0052E981 in semantic3 at C:\Users\vagrant\clones\dmd\src\dmd\semantic3.d(83)
0x0052EABC in Semantic3Visitor at
C:\Users\vagrant\clones\dmd\src\dmd\semantic3.d(133)
0x004858F5 in TemplateInstance at
C:\Users\vagrant\clones\dmd\src\dmd\dtemplate.d(7328)
0x0052E981 in semantic3 at C:\Users\vagrant\clones\dmd\src\dmd\semantic3.d(83)
0x004858C4 in void
dmd.dtemplate.TemplateInstance.trySemantic3(dmd.dscope.Scope*) at
C:\Users\vagrant\clones\dmd\src\dmd\dtemplate.d(7317)
0x0047709E in void
dmd.dsymbolsem.templateInstanceSemantic(dmd.dtemplate.TemplateInstance,
dmd.dscope.Scope*, dmd.root.array.Array!(dmd.expression.Expression).Array*) at
C:\Users\vagrant\clones\dmd\src\dmd\dsymbolsem.d(6199)
0x0047C7A9 in
_D3dmd9dtemplate15functionResolveFKSQBi11declaration16MatchAccumulatorCQCr7dsymbol7DsymbolSQDl7g606F91C4EB1E0EA637BA13643EDFCFD4
at C:\Users\vagrant\clones\dmd\src\dmd\dtemplate.d(3056)
0x004BC4DB in
_D3dmd4func15resolveFuncCallFKxSQBe7globals3LocPSQBv6dscope5ScopeCQCm7dsymbol7DsymbolPSQDh4root50DA03BA8CF3B106088258D70A7C5F254
at C:\Users\vagrant\clones\dmd\src\dmd\func.d(2810)
0x004A4862 in ExpressionSemanticVisitor at
C:\Users\vagrant\clones\dmd\src\dmd\expressionsem.d(4739)
0x00494EA9 in CallExp at C:\Users\vagrant\clones\dmd\src\dmd\expression.d(4949)
0x004B51BC in expressionSemantic at
C:\Users\vagrant\clones\dmd\src\dmd\expressionsem.d(11292)
0x0053F5BC in StatementSemanticVisitor at
C:\Users\vagrant\clones\dmd\src\dmd\statementsem.d(3163)
0x00535FCD in ReturnStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(1829)
0x0053763C in statementSemantic at
C:\Users\vagrant\clones\dmd\src\dmd\statementsem.d(127)
0x0053791E in StatementSemanticVisitor at
C:\Users\vagrant\clones\dmd\src\dmd\statementsem.d(235)
0x00534BA5 in CompoundStatement at
C:\Users\vagrant\clones\dmd\src\dmd\statement.d(938)
0x0053763C in statementSemantic at
C:\Users\vagrant\clones\dmd\src\dmd\statementsem.d(127)
0x0052FC9C in Semantic3Visitor at
C:\Users\vagrant\clones\dmd\src\dmd\semantic3.d(585)
0x004BBED9 in FuncDeclaration at
C:\Users\vagrant\clones\dmd\src\dmd\func.d(2512)
0x0052E981 in semantic3 at C:\Users\vagrant\clones\dmd\src\dmd\semantic3.d(83)
0x0052EC89 in Semantic3Visitor at
C:\Users\vagrant\clones\dmd\src\dmd\semantic3.d(197)
0x00451549 in Module at C:\Users\vagrant\clones\dmd\src\dmd\dmodule.d(1449)
0x0052E981 in semantic3 at C:\Users\vagrant\clones\dmd\src\dmd\semantic3.d(83)
0x004FD5E7 in int dmd.mars.tryMain(uint, const(char)**, ref dmd.globals.Param)
at C:\Users\vagrant\clones\dmd\src\dmd\mars.d(596)
0x004FE54E in _Dmain at C:\Users\vagrant\clones\dmd\src\dmd\mars.d(944)
0x0063E7EB in void rt.dmain2._d_run_main2(char[][], uint, extern (C) int
function(char[][])*).runAll().__lambda1()
0x0063E765 in void rt.dmain2._d_run_main2(char[][], uint, extern (C) int
function(char[][])*).runAll()
0x0063E600 in _d_run_main2
0x0063B21A in _d_run_main
0x004FE4F5 in main at C:\Users\vagrant\clones\dmd\src\dmd\mars.d(893)
0x0065FCF1 in mainCRTStartup
0x764B6359 in BaseThreadInitThunk
0x77127B74 in RtlGetAppContainerNamedObjectPath
0x77127B44 in RtlGetAppContainerNamedObjectPath

--
Feb 01