Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assert on dmd/dclass.d(449) #11

Open
ljmf00 opened this issue Apr 19, 2022 · 0 comments
Open

Assert on dmd/dclass.d(449) #11

ljmf00 opened this issue Apr 19, 2022 · 0 comments
Labels
bug Something isn't working upstream

Comments

@ljmf00
Copy link
Member

ljmf00 commented Apr 19, 2022

Compiler bug on ./compiler/druntime/src/object.d.

Scan with -f./compiler/druntime/src/.

core.exception.AssertError@../compiler/dmd/src/dmd/dclass.d(449): Assertion failure
----------------
??:? _d_assertp [0x7ff250c52528]
../compiler/dmd/src/dmd/dclass.d:449 _ZN16ClassDeclaration8isBaseOfEPS_Pi [0x55a382853815]
../compiler/dmd/src/dmd/mtype.d:6267 _ZN9TypeClass10deduceWildEP4Typeb [0x55a38293ce8d]
../compiler/dmd/src/dmd/mtype.d:4711 int dmd.mtype.TypeFunction.callMatch(dmd.mtype.Type, dmd.expression.Expression[], int, const(char)**, dmd.dscope.Scope*).__foreachbody12(ulong, dmd.mtype.Parameter) [0x55a3829397d9]
../compiler/dmd/src/dmd/mtype.d:6925 int dmd.mtype.Parameter._foreach(dmd.root.array.Array!(dmd.mtype.Parameter).Array*, int delegate(ulong, dmd.mtype.Parameter)).__lambda3!(ulong, dmd.mtype.Parameter, ulong, dmd.mtype.Parameter).__lambda3(ulong, dmd.mtype.Parameter, ulong, dmd.mtype.Parameter) [0x55a38293e210]
../compiler/dmd/src/dmd/mtype.d:6970 int dmd.mtype.Parameter._foreachImpl(scope int delegate(ulong, dmd.mtype.Parameter, ulong, dmd.mtype.Parameter), ulong, dmd.mtype.Parameter, ref ulong, dmd.mtype.Parameter) [0x55a38293e3f7]
../compiler/dmd/src/dmd/mtype.d:6940 int dmd.mtype.Parameter._foreach(dmd.root.array.Array!(dmd.mtype.Parameter).Array*, int delegate(ulong, dmd.mtype.Parameter, ulong, dmd.mtype.Parameter)) [0x55a38293e2b8]
../compiler/dmd/src/dmd/mtype.d:6925 int dmd.mtype.Parameter._foreach(dmd.root.array.Array!(dmd.mtype.Parameter).Array*, int delegate(ulong, dmd.mtype.Parameter)) [0x55a38293e1d4]
../compiler/dmd/src/dmd/mtype.d:6726 int dmd.mtype.ParameterList.opApply(scope int delegate(ulong, dmd.mtype.Parameter)) [0x55a38293dbba]
../compiler/dmd/src/dmd/mtype.d:4698 dmd.astenums.MATCH dmd.mtype.TypeFunction.callMatch(dmd.mtype.Type, dmd.expression.Expression[], int, const(char)**, dmd.dscope.Scope*) [0x55a3829395af]
../compiler/dmd/src/dmd/dtemplate.d:3121 void dmd.dtemplate.functionResolve(ref dmd.declaration.MatchAccumulator, dmd.dsymbol.Dsymbol, dmd.globals.Loc, dmd.dscope.Scope*, dmd.root.array.Array!(dmd.root.rootobject.RootObject).Array*, dmd.mtype.Type, dmd.root.array.Array!(dmd.expression.Expression).Array*, const(char)**) [0x55a3828b2ff6]
../compiler/dmd/src/dmd/func.d:3129 dmd.func.FuncDeclaration dmd.func.resolveFuncCall(ref const(dmd.globals.Loc), dmd.dscope.Scope*, dmd.dsymbol.Dsymbol, dmd.root.array.Array!(dmd.root.rootobject.RootObject).Array*, dmd.mtype.Type, dmd.root.array.Array!(dmd.expression.Expression).Array*, dmd.func.FuncResolveFlag) [0x55a38290a7ba]
../compiler/dmd/src/dmd/expressionsem.d:4918 _ZN25ExpressionSemanticVisitor5visitEP7CallExp [0x55a3828e7dfe]
../compiler/dmd/src/dmd/expression.d:5151 _ZN7CallExp6acceptEP7Visitor [0x55a3828d4b59]
../compiler/dmd/src/dmd/expressionsem.d:12188 _Z18expressionSemanticP10ExpressionP5Scope [0x55a3828ff78b]
../compiler/dmd/src/dmd/expressionsem.d:11289 _ZN25ExpressionSemanticVisitor5visitEP10LogicalExp [0x55a3828fcd2a]
../compiler/dmd/src/dmd/expression.d:6565 _ZN10LogicalExp6acceptEP7Visitor [0x55a3828d7371]
../compiler/dmd/src/dmd/expressionsem.d:12188 _Z18expressionSemanticP10ExpressionP5Scope [0x55a3828ff78b]
../compiler/dmd/src/dmd/expressionsem.d:11289 _ZN25ExpressionSemanticVisitor5visitEP10LogicalExp [0x55a3828fcd2a]
../compiler/dmd/src/dmd/expression.d:6565 _ZN10LogicalExp6acceptEP7Visitor [0x55a3828d7371]
../compiler/dmd/src/dmd/expressionsem.d:12188 _Z18expressionSemanticP10ExpressionP5Scope [0x55a3828ff78b]
../compiler/dmd/src/dmd/statementsem.d:1915 _ZN24StatementSemanticVisitor5visitEP11IfStatement [0x55a382961ec4]
../compiler/dmd/src/dmd/statement.d:1057 _ZN11IfStatement6acceptEP7Visitor [0x55a382957ecd]
../compiler/dmd/src/dmd/statementsem.d:147 _Z17statementSemanticP9StatementP5Scope [0x55a38295a561]
../compiler/dmd/src/dmd/statementsem.d:268 _ZN24StatementSemanticVisitor5visitEP17CompoundStatement [0x55a38295a956]
../compiler/dmd/src/dmd/statement.d:628 _ZN17CompoundStatement6acceptEP7Visitor [0x55a3829570d5]
../compiler/dmd/src/dmd/statementsem.d:147 _Z17statementSemanticP9StatementP5Scope [0x55a38295a561]
../compiler/dmd/src/dmd/semantic3.d:602 _ZN16Semantic3Visitor5visitEP15FuncDeclaration [0x55a382950ecf]
../compiler/dmd/src/dmd/func.d:2833 _ZN15FuncDeclaration6acceptEP7Visitor [0x55a382909fbd]
../compiler/dmd/src/dmd/semantic3.d:82 _Z9semantic3P7DsymbolP5Scope [0x55a38294f90d]
../compiler/dmd/src/dmd/semantic3.d:133 _ZN16Semantic3Visitor5visitEP16TemplateInstance [0x55a38294fab6]
../compiler/dmd/src/dmd/dtemplate.d:7504 _ZN16TemplateInstance6acceptEP7Visitor [0x55a3828bf025]
../compiler/dmd/src/dmd/semantic3.d:82 _Z9semantic3P7DsymbolP5Scope [0x55a38294f90d]
../compiler/dmd/src/dmd/dtemplate.d:7492 void dmd.dtemplate.TemplateInstance.trySemantic3(dmd.dscope.Scope*) [0x55a3828befde]
../compiler/dmd/src/dmd/dsymbolsem.d:6189 void dmd.dsymbolsem.templateInstanceSemantic(dmd.dtemplate.TemplateInstance, dmd.dscope.Scope*, dmd.root.array.Array!(dmd.expression.Expression).Array*) [0x55a3828aa779]
../compiler/dmd/src/dmd/dtemplate.d:3093 void dmd.dtemplate.functionResolve(ref dmd.declaration.MatchAccumulator, dmd.dsymbol.Dsymbol, dmd.globals.Loc, dmd.dscope.Scope*, dmd.root.array.Array!(dmd.root.rootobject.RootObject).Array*, dmd.mtype.Type, dmd.root.array.Array!(dmd.expression.Expression).Array*, const(char)**) [0x55a3828b2eae]
../compiler/dmd/src/dmd/func.d:3129 dmd.func.FuncDeclaration dmd.func.resolveFuncCall(ref const(dmd.globals.Loc), dmd.dscope.Scope*, dmd.dsymbol.Dsymbol, dmd.root.array.Array!(dmd.root.rootobject.RootObject).Array*, dmd.mtype.Type, dmd.root.array.Array!(dmd.expression.Expression).Array*, dmd.func.FuncResolveFlag) [0x55a38290a7ba]
../compiler/dmd/src/dmd/expressionsem.d:4918 _ZN25ExpressionSemanticVisitor5visitEP7CallExp [0x55a3828e7dfe]
../compiler/dmd/src/dmd/expression.d:5151 _ZN7CallExp6acceptEP7Visitor [0x55a3828d4b59]
../compiler/dmd/src/dmd/expressionsem.d:12188 _Z18expressionSemanticP10ExpressionP5Scope [0x55a3828ff78b]
../compiler/dmd/src/dmd/opover.d:952 dmd.expression.Expression dmd.opover.op_overload(dmd.expression.Expression, dmd.dscope.Scope*, dmd.tokens.EXP*).visitEqual(dmd.expression.EqualExp) [0x55a3829462fe]
../compiler/dmd/src/dmd/opover.d:1289 dmd.expression.Expression dmd.opover.op_overload(dmd.expression.Expression, dmd.dscope.Scope*, dmd.tokens.EXP*) [0x55a382943bd9]
../compiler/dmd/src/dmd/expressionsem.d:11678 _ZN25ExpressionSemanticVisitor5visitEP8EqualExp [0x55a3828fe011]
../compiler/dmd/src/dmd/expression.d:6647 _ZN8EqualExp6acceptEP7Visitor [0x55a3828d755d]
../compiler/dmd/src/dmd/expressionsem.d:12188 _Z18expressionSemanticP10ExpressionP5Scope [0x55a3828ff78b]
../compiler/dmd/src/dmd/expressionsem.d:11289 _ZN25ExpressionSemanticVisitor5visitEP10LogicalExp [0x55a3828fcd2a]
../compiler/dmd/src/dmd/expression.d:6565 _ZN10LogicalExp6acceptEP7Visitor [0x55a3828d7371]
../compiler/dmd/src/dmd/expressionsem.d:12188 _Z18expressionSemanticP10ExpressionP5Scope [0x55a3828ff78b]
../compiler/dmd/src/dmd/opover.d:1080 dmd.expression.Expression dmd.opover.op_overload(dmd.expression.Expression, dmd.dscope.Scope*, dmd.tokens.EXP*).visitEqual(dmd.expression.EqualExp) [0x55a38294692b]
../compiler/dmd/src/dmd/opover.d:1289 dmd.expression.Expression dmd.opover.op_overload(dmd.expression.Expression, dmd.dscope.Scope*, dmd.tokens.EXP*) [0x55a382943bd9]
../compiler/dmd/src/dmd/expressionsem.d:11678 _ZN25ExpressionSemanticVisitor5visitEP8EqualExp [0x55a3828fe011]
../compiler/dmd/src/dmd/expression.d:6647 _ZN8EqualExp6acceptEP7Visitor [0x55a3828d755d]
../compiler/dmd/src/dmd/expressionsem.d:12188 _Z18expressionSemanticP10ExpressionP5Scope [0x55a3828ff78b]
../compiler/dmd/src/dmd/opover.d:1023 dmd.expression.Expression dmd.opover.op_overload(dmd.expression.Expression, dmd.dscope.Scope*, dmd.tokens.EXP*).visitEqual(dmd.expression.EqualExp) [0x55a382946685]
../compiler/dmd/src/dmd/opover.d:1289 dmd.expression.Expression dmd.opover.op_overload(dmd.expression.Expression, dmd.dscope.Scope*, dmd.tokens.EXP*) [0x55a382943bd9]
../compiler/dmd/src/dmd/expressionsem.d:11678 _ZN25ExpressionSemanticVisitor5visitEP8EqualExp [0x55a3828fe011]
../compiler/dmd/src/dmd/expression.d:6647 _ZN8EqualExp6acceptEP7Visitor [0x55a3828d755d]
../compiler/dmd/src/dmd/expressionsem.d:12188 _Z18expressionSemanticP10ExpressionP5Scope [0x55a3828ff78b]
../compiler/dmd/src/dmd/statementsem.d:2866 _ZN24StatementSemanticVisitor5visitEP15ReturnStatement [0x55a3829652cb]
../compiler/dmd/src/dmd/statement.d:1438 _ZN15ReturnStatement6acceptEP7Visitor [0x55a382958ad9]
../compiler/dmd/src/dmd/statementsem.d:147 _Z17statementSemanticP9StatementP5Scope [0x55a38295a561]
../compiler/dmd/src/dmd/semantic3.d:602 _ZN16Semantic3Visitor5visitEP15FuncDeclaration [0x55a382950ecf]
../compiler/dmd/src/dmd/func.d:2833 _ZN15FuncDeclaration6acceptEP7Visitor [0x55a382909fbd]
../compiler/dmd/src/dmd/semantic3.d:82 _Z9semantic3P7DsymbolP5Scope [0x55a38294f90d]
../compiler/dmd/src/dmd/semantic3.d:1609 _Z23semanticTypeInfoMembersP17StructDeclaration [0x55a382954d22]
../compiler/dmd/src/dmd/semantic3.d:1564 _ZN16Semantic3Visitor5visitEP20AggregateDeclaration [0x55a382954b3a]
../compiler/dmd/src/dmd/parsetimevisitor.d:88 _ZN16ParseTimeVisitorI10ASTCodegenE5visitEP17StructDeclaration [0x55a38298fa99]
../compiler/dmd/src/dmd/dstruct.d:451 _ZN17StructDeclaration6acceptEP7Visitor [0x55a382890891]
../compiler/dmd/src/dmd/semantic3.d:82 _Z9semantic3P7DsymbolP5Scope [0x55a38294f90d]
../compiler/dmd/src/dmd/semantic3.d:197 _ZN16Semantic3Visitor5visitEP6Module [0x55a38294fd0e]
../compiler/dmd/src/dmd/dmodule.d:1469 _ZN6Module6acceptEP7Visitor [0x55a382878781]
../compiler/dmd/src/dmd/semantic3.d:82 _Z9semantic3P7DsymbolP5Scope [0x55a38294f90d]
../compiler/dmd/src/dmd/frontend.d:439 void dmd.frontend.fullSemantic(dmd.dmodule.Module) [0x55a3827d530f]
../source/dmdlint/scanner/app.d:37 void dmdlint.scanner.app.processSourceFile(immutable(char)[]) [0x55a3827054f2]
../source/dmdlint/scanner/app.d:161 _Dmain [0x55a382705ed5]
@ljmf00 ljmf00 added bug Something isn't working upstream labels Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

No branches or pull requests

1 participant