digitalmars.D.bugs - [Issue 18724] New: ICE in dmd/dsymbol.d(890)
- d-bugmail puremagic.com (63/63) Apr 04 2018 https://issues.dlang.org/show_bug.cgi?id=18724
https://issues.dlang.org/show_bug.cgi?id=18724 Issue ID: 18724 Summary: ICE in dmd/dsymbol.d(890) Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ice Severity: critical Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: greensunny12 gmail.com Reduced: --- void main() { regex("foo"); } auto regex(S)(S) { S pat; if (__ctfe) regexImpl(pat); } auto regexImpl(S)(S ) { import bar ; } --- bar.d --- void ()() --- --- core.exception.AssertError dmd/dsymbol.d(890): Assertion failure ---------------- ??:? _d_assertp [0x1624c651] ??:? _ZN7Dsymbol10oneMembersEP5ArrayIPS_EPS1_P10Identifier [0x16087e48] ??:? _ZN22DsymbolSemanticVisitor5visitEP19TemplateDeclaration [0x16091671] ??:? _ZN19TemplateDeclaration6acceptEP7Visitor [0x1609f24c] ??:? _Z15dsymbolSemanticP7DsymbolP5Scope [0x1608b3d8] ??:? _ZN22DsymbolSemanticVisitor5visitEP6Module [0x1608fe18] ??:? _ZN6Module6acceptEP7Visitor [0x1607c690] ??:? _Z15dsymbolSemanticP7DsymbolP5Scope [0x1608b3d8] ??:? _ZN22DsymbolSemanticVisitor5visitEP6Import [0x1608e38e] ??:? _ZN6Import6acceptEP7Visitor [0x160637b1] ??:? _Z15dsymbolSemanticP7DsymbolP5Scope [0x1608b3d8] ??:? _ZN24StatementSemanticVisitor5visitEP15ImportStatement [0x161656e9] ??:? _ZN15ImportStatement6acceptEP7Visitor [0x16143428] ??:? _Z17statementSemanticP9StatementP5Scope [0x1615975a] ??:? _ZN24StatementSemanticVisitor5visitEP17CompoundStatement [0x16159aa1] ??:? _ZN17CompoundStatement6acceptEP7Visitor [0x1614073c] ??:? _Z17statementSemanticP9StatementP5Scope [0x1615975a] ??:? _ZN16Semantic3Visitor5visitEP15FuncDeclaration [0x1616c893] ??:? _ZN15FuncDeclaration6acceptEP7Visitor [0x160dea98] ??:? _Z9semantic3P7DsymbolP5Scope [0x1616b310] ??:? _ZN16Semantic3Visitor5visitEP16TemplateInstance [0x1616b47f] ??:? _ZN16TemplateInstance6acceptEP7Visitor [0x160aa890] ??:? _Z9semantic3P7DsymbolP5Scope [0x1616b310] --- --
Apr 04 2018