{"record":{"id":"5da390a7a06721f1","repo":"go-delve/delve","slug":"parametric-type-without-a-dictionary","errorCode":null,"errorMessage":"parametric type without a dictionary","messagePattern":"parametric type without a dictionary","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/proc/types.go","lineNumber":114,"sourceCode":"\t\t\t\t\treturn nil, false, fmt.Errorf(\"invalid interface type: %v\", err)\n\t\t\t\t}\n\t\t\t\treturn typ, getRuntimeTypeDirect(_type), nil\n\t\t\t}\n\t\t}\n\t}\n\n\treturn nil, false, errors.New(\"could not resolve interface type\")\n}\n\n// resolveParametricType returns the real type of t if t is a parametric\n// type, by reading the correct dictionary entry.\nfunc resolveParametricType(bi *BinaryInfo, mem MemoryReadWriter, t godwarf.Type, dictAddr uint64) (godwarf.Type, error) {\n\tptyp, _ := t.(*godwarf.ParametricType)\n\tif ptyp == nil {\n\t\treturn t, nil\n\t}\n\tif dictAddr == 0 {\n\t\treturn ptyp.TypedefType.Type, errors.New(\"parametric type without a dictionary\")\n\t}\n\trtypeAddr, err := readUintRaw(mem, dictAddr+uint64(ptyp.DictIndex*int64(bi.Arch.PtrSize())), int64(bi.Arch.PtrSize()))\n\tif err != nil {\n\t\treturn ptyp.TypedefType.Type, err\n\t}\n\truntimeType, err := bi.findType(bi.runtimeTypeTypename())\n\tif err != nil {\n\t\treturn ptyp.TypedefType.Type, err\n\t}\n\t_type := newVariable(\"\", rtypeAddr, runtimeType, bi, mem)\n\n\tmds, err := bi.getModuleData(_type.mem)\n\tif err != nil {\n\t\treturn ptyp.TypedefType.Type, err\n\t}\n\n\ttyp, _, err := RuntimeTypeToDIE(_type, 0, mds)\n\tif err != nil {","sourceCodeStart":96,"sourceCodeEnd":132,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/proc/types.go#L96-L132","documentation":"Error \"parametric type without a dictionary\" thrown in go-delve/delve.","triggerScenarios":"Thrown at pkg/proc/types.go:114 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a23773e6c31361e43246bc43a424ee009679b174","analyzedAt":"2026-08-31T15:12:45.221Z","schemaVersion":2},"datasetVersion":"2026-08-31T19:17:28.585Z"}