Skip to content

Instantly share code, notes, and snippets.

@ANtlord
Created October 29, 2016 17:54
Show Gist options
  • Select an option

  • Save ANtlord/4c8bea27c713ef866c3ebec19a67c70b to your computer and use it in GitHub Desktop.

Select an option

Save ANtlord/4c8bea27c713ef866c3ebec19a67c70b to your computer and use it in GitHub Desktop.
Callstack to insertion information about implicilty defined identifier
#0 containers.unrolledlist.UnrolledList!(dsymbol.string_interning.InternedString, std.experimental.allocator.mallocator.Mallocator, true, 64uL).UnrolledList.insertBack(dsymbol.string_interning.InternedString) (this=..., item=...) at ../../.dub/packages/emsi_containers-0.5.2/emsi_containers/src/containers/unrolledlist.d:88
#1 0x00000000008ee3bd in dsymbol.conversion.first.InitializerVisitor.visit(const(dparse.ast.PrimaryExpression)) (this=0x7fffffffc3f0, primary=0x1e24400)
at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/first.d:1179
#2 0x0000000000929517 in dparse.ast.UnaryExpression.accept(dparse.ast.ASTVisitor) const (this=0x1e242f0, visitor=0x7fffffffc3f0)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d-mixin-3193:3193
#3 0x00000000008ee798 in dsymbol.conversion.first.InitializerVisitor.visit(const(dparse.ast.ExpressionNode)) (this=0x7fffffffc3f0, expression=0x1e242f0)
at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/first.d:1241
#4 0x0000000000922918 in dparse.ast.NonVoidInitializer.accept(dparse.ast.ASTVisitor) const (this=0x1e245c8, visitor=0x7fffffffc3f0)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d-mixin-2295:2295
#5 0x0000000000910e7f in dparse.ast.ASTVisitor.visit(const(dparse.ast.NonVoidInitializer)) (this=0x7fffffffc3f0, nonVoidInitializer=0x1e245c8)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d:265
#6 0x0000000000914365 in dparse.ast.ArrayMemberInitialization.accept(dparse.ast.ASTVisitor) const (this=0x1e242c8, visitor=0x7fffffffc3f0)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d-mixin-601:602
#7 0x000000000090e237 in dparse.ast.ASTVisitor.visit(const(dparse.ast.ArrayMemberInitialization)) (this=0x7fffffffc3f0, arrayMemberInitialization=0x1e242c8)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d:156
#8 0x000000000091407b in dparse.ast.ArrayInitializer.accept(dparse.ast.ASTVisitor) const (this=0x1e24290, visitor=0x7fffffffc3f0)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d-mixin-575:575
#9 0x000000000090e167 in dparse.ast.ASTVisitor.visit(const(dparse.ast.ArrayInitializer)) (this=0x7fffffffc3f0, arrayInitializer=0x1e24290)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d:154
#10 0x0000000000922939 in dparse.ast.NonVoidInitializer.accept(dparse.ast.ASTVisitor) const (this=0x1e24260, visitor=0x7fffffffc3f0)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d-mixin-2295:2296
#11 0x0000000000910e7f in dparse.ast.ASTVisitor.visit(const(dparse.ast.NonVoidInitializer)) (this=0x7fffffffc3f0, nonVoidInitializer=0x1e24260)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d:265
#12 0x0000000000920423 in dparse.ast.Initializer.accept(dparse.ast.ASTVisitor) const (this=0x1e24240, visitor=0x7fffffffc3f0)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d-mixin-1981:1981
#13 0x00000000008ee621 in dsymbol.conversion.first.InitializerVisitor.visit(const(dparse.ast.Initializer)) (this=0x7fffffffc3f0, initializer=0x1e24240)
at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/first.d:1223
#14 0x00000000008ed08a in dsymbol.conversion.first.FirstPass.populateInitializer(dsymbol.semantic.SemanticSymbol*, const(dparse.ast.Initializer), bool) (this=0x7fffffffcd10,
appendForeach=false, initializer=0x1e24240, symbol=0x1d5b5b0) at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/first.d:889
#15 0x00000000008ea316 in dsymbol.conversion.first.FirstPass.visit(const(dparse.ast.VariableDeclaration)) (this=0x7fffffffcd10, dec=0x1e24098)
at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/first.d:227
#16 0x000000000091969b in dparse.ast.Declaration.accept(dparse.ast.ASTVisitor) const (this=0x1e24050, visitor=0x7fffffffcd10)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d:1282
#17 0x00000000008ea8d9 in dsymbol.conversion.first.FirstPass.visit(const(dparse.ast.Declaration)) (this=0x7fffffffcd10, dec=0x1e24050)
at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/first.d:303
#18 0x000000000091b6c3 in dparse.ast.DeclarationOrStatement.accept(dparse.ast.ASTVisitor) const (this=0x1e24028, visitor=0x7fffffffcd10)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d-mixin-1373:1373
#19 0x000000000090f5b7 in dparse.ast.ASTVisitor.visit(const(dparse.ast.DeclarationOrStatement)) (this=0x7fffffffcd10, declarationsOrStatement=0x1e24028)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d:204
#20 0x000000000091b50b in dparse.ast.DeclarationsAndStatements.accept(dparse.ast.ASTVisitor) const (this=0x1e24000, visitor=0x7fffffffcd10)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d-mixin-1360:1360
#21 0x000000000090f61f in dparse.ast.ASTVisitor.visit(const(dparse.ast.DeclarationsAndStatements)) (this=0x7fffffffcd10, declarationsAndStatements=0x1e24000)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d:205
#22 0x00000000008ebcdb in dsymbol.conversion.first.FirstPass.visit(const(dparse.ast.BlockStatement)) (this=0x7fffffffcd10, blockStatement=0x1e23fd0)
at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/first.d:525
#23 0x000000000091db26 in dparse.ast.FunctionBody.accept(dparse.ast.ASTVisitor) const (this=0x1e23f98, visitor=0x7fffffffcd10)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d-mixin-1690:1693
#24 0x00000000008e9ca1 in dsymbol.conversion.first.FirstPass.visit(const(dparse.ast.FunctionDeclaration)) (this=0x7fffffffcd10, dec=0x1e23b98)
at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/first.d:151
#25 0x00000000009192f2 in dparse.ast.Declaration.accept(dparse.ast.ASTVisitor) const (this=0x1e23ac0, visitor=0x7fffffffcd10)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d:1282
#26 0x00000000008ea8d9 in dsymbol.conversion.first.FirstPass.visit(const(dparse.ast.Declaration)) (this=0x7fffffffcd10, dec=0x1e23ac0)
at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/first.d:303
#27 0x000000000092193b in dparse.ast.Module.accept(dparse.ast.ASTVisitor) const (this=0x1e23a40, visitor=0x7fffffffcd10)
at ../../.dub/packages/libdparse-0.7.0-beta.1/libdparse/src/dparse/ast.d-mixin-2174:2176
#28 0x00000000008eaad7 in dsymbol.conversion.first.FirstPass.visit(const(dparse.ast.Module)) (this=0x7fffffffcd10, mod=0x1e23a40)
at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/first.d:328
#29 0x00000000008e9741 in dsymbol.conversion.first.FirstPass.run() (this=0x7fffffffcd10) at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/first.d:92
#30 0x00000000008ae9d2 in dsymbol.conversion.generateAutocompleteTrees(const(std.experimental.lexer.TokenStructure!(ubyte, "\n string comment;\n string trailingComment;\n\n int opCmp(size_t i) const pure nothrow @safe {\n if (index < i) return -1;\n if (index > i) return 1;\n return 0;\n }\n\n int opCmp(ref const typeof(this) other) const pure nothrow @safe {\n return opCmp(other.index);\n }\n").TokenStructure)[], std.experimental.allocator.IAllocator, dparse.rollback_allocator.RollbackAllocator*, ulong, ref dsymbol.modulecache.ModuleCache) (cache=..., cursorPosition=50, parseAllocator=0x7fffffffd050, symbolAllocator=0x7fffffffd020, tokens=...)
at ../../.dub/packages/dsymbol-0.2.0-beta.1/dsymbol/src/dsymbol/conversion/package.d:48
#31 0x0000000000884c9b in server.autocomplete.dotCompletion!(std.range.SortedRange!(const(std.experimental.lexer.TokenStructure!(ubyte, "\n string comment;\n string trailingComment;\n\n int opCmp(size_t i) const pure nothrow @safe {\n if (index < i) return -1;\n if (index > i) return 1;\n return 0;\n }\n\n int opCmp(ref const typeof(this) other) const pure nothrow @safe {\n return opCmp(other.index);\n }\n").TokenStructure)[], "a < b").SortedRange).dotCompletion(std.range.SortedRange!(const(std.experimental.lexer.TokenStructure!(ubyte, "\n string comment;\n string trailingComment;\n\n int opCmp(size_t i) const pure nothrow @safe {\n if (index < i) return -1;\n if (index > i) return 1;\n return 0;\n }\n\n int opCmp(ref const typeof(this) other) const pure nothrow @safe {\n return opCmp(other.index);\n }\n").TokenStructure)[], "a < b").SortedRange, const(std.experimental.lexer.TokenStructure!(ubyte, "\n string comment;\n string trailingComment;\n\n int opCmp(size_t i) const pure nothrow @safe {\n if (index < i) return -1;\n if (index > i) return 1;\n return 0;\n }\n\n int opCmp(ref const typeof(this) other) const pure nothrow @safe {\n return opCmp(other.index);\n }\n").TokenStructure)[], ulong, ref dsymbol.modulecache.ModuleCache) (__HID125=0x7fffffffd2b0, moduleCache=..., cursorPosition=50, tokenArray=..., beforeTokens=...) at src/server/autocomplete.d:342
#32 0x000000000087b5fa in server.autocomplete.complete(const(common.messages.AutocompleteRequest), ref dsymbol.modulecache.ModuleCache) (__HID111=0x7fffffffd890, moduleCache=..., request=...)
at src/server/autocomplete.d:179
#33 0x0000000000892e4f in D main (args=...) at src/server/server.d:284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment