Skip to content

Instantly share code, notes, and snippets.

@aarzilli
Created November 11, 2021 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarzilli/7c4ba1e87e986f0ec1a89cdec455392a to your computer and use it in GitHub Desktop.
Save aarzilli/7c4ba1e87e986f0ec1a89cdec455392a to your computer and use it in GitHub Desktop.
append.go:29 0x454e8d main._Append
append.go:29 0x454e95 main._Append
append.go:29 0x4550ad main._Append
append.go:29 0x4550b5 main._Append
chans.go:412 0x48c4e2 main.TestReadAll
chans.go:412 0x48c4e4 main.TestReadAll
chans.go:412 0x48c7c9 main.TestMerge
chans.go:412 0x48c7ce main.TestMerge
chans.go:412 0x48c912 main.TestMerge
chans.go:412 0x48c914 main.TestMerge
chans.go:412 0x48cc6f main.TestFilter
chans.go:412 0x48cd3c main.TestFilter
chans.go:412 0x48cd3e main.TestFilter
chans.go:412 0x48f7df main._Merge
chans.go:412 0x48f7e4 main._Merge
chans.go:412 0x48f8e5 main._Merge
chans.go:412 0x48f8ef main._Merge
chans.go:412 0x48f9ff main._Filter
chans.go:412 0x48fa04 main._Filter
chans.go:412 0x48fb05 main._Filter
chans.go:412 0x48fb0f main._Filter
chans.go:412 0x48fbec main._Sink
chans.go:412 0x48fbf1 main._Sink
chans.go:412 0x48fca5 main._Sink
chans.go:412 0x48fcaf main._Sink
eface.go:65 0x454e22 main.f
eface.go:65 0x454e27 main.f
eface.go:65 0x454e35 main.f
eface.go:65 0x454e62 main.g
eface.go:65 0x454e67 main.g
eface.go:65 0x454e75 main.g
eface.go:65 0x454ea9 main.h
eface.go:65 0x454eae main.h
eface.go:65 0x454ec4 main.h
eface.go:65 0x454ec9 main.h
eface.go:65 0x454edd main.h
eface.go:65 0x454f49 main.i
eface.go:65 0x454f4e main.i
eface.go:65 0x454f90 main.i
equal.go:67 0x454e8d main.g
equal.go:67 0x454e92 main.g
equal.go:67 0x454f4d main.h
equal.go:67 0x454f52 main.h
equal.go:67 0x4550db main.g
equal.go:67 0x4550e1 main.g
equal.go:67 0x4551d1 main.k
equal.go:67 0x4551eb main.k
equal.go:67 0x4551f0 main.k
<autogenerated>:1 0x47dde0 main.(*B).get
<autogenerated>:1 0x47dde6 main.(*B).get
<autogenerated>:1 0x47de02 main.(*B).get
<autogenerated>:1 0x47de30 main.(*B).get
<autogenerated>:1 0x47de3f main.(*B).get
<autogenerated>:1 0x47de40 main.(*B).get
<autogenerated>:1 0x47de60 main.(*B).get
<autogenerated>:1 0x47de66 main.(*B).get
<autogenerated>:1 0x47de82 main.(*B).get
<autogenerated>:1 0x47deb7 main.(*B).get
<autogenerated>:1 0x47debc main.(*B).get
<autogenerated>:1 0x47dec0 main.(*B).get
graph.go:229 0x47f110 main.TestShortestPath
graph.go:229 0x47f112 main.TestShortestPath
issue44688.go:148 0x45535b main.test1
issue44688.go:148 0x455363 main.test1
issue44688.go:148 0x455482 main.test1
issue44688.go:148 0x45548a main.test1
issue44688.go:148 0x455597 main.test1
issue44688.go:148 0x45559f main.test1
<autogenerated>:1 0x4558a0 main.(*ImpA2).m2
<autogenerated>:1 0x4558a6 main.(*ImpA2).m2
<autogenerated>:1 0x4558c2 main.(*ImpA2).m2
<autogenerated>:1 0x4558e0 main.(*ImpA2).m2
<autogenerated>:1 0x4558fe main.(*ImpA2).m2
<autogenerated>:1 0x455900 main.(*ImpA2).m2
<autogenerated>:1 0x45591b main.(*ImpA2).m2
<autogenerated>:1 0x455920 main.(*ImpA2).m2
error compiling /usr/local/go/test/typeparam/issue46461.go: # command-line-arguments
/usr/local/go/test/typeparam/issue46461.go:9:6: invalid recursive type T
/usr/local/go/test/typeparam/issue46461.go:9:6: T refers to
/usr/local/go/test/typeparam/issue46461.go:9:6: T
issue47775b.go:27 0x454b27 main.New
error compiling /usr/local/go/test/typeparam/issue47896.go: # command-line-arguments
runtime.main_main·f: function main is undeclared in the main package
issue48042.go:75 0x47e6ae main.(*Foo).f5
issue48042.go:75 0x47e6b3 main.(*Foo).f5
<autogenerated>:1 0x47e740 main.(*Foo).g
<autogenerated>:1 0x47e746 main.(*Foo).g
<autogenerated>:1 0x47e762 main.(*Foo).g
<autogenerated>:1 0x47e790 main.(*Foo).g
<autogenerated>:1 0x47e79f main.(*Foo).g
<autogenerated>:1 0x47e7a0 main.(*Foo).g
<autogenerated>:1 0x454b20 main.(*A).Work
<autogenerated>:1 0x454b26 main.(*A).Work
<autogenerated>:1 0x454b42 main.(*A).Work
<autogenerated>:1 0x454b60 main.(*A).Work
<autogenerated>:1 0x454b7e main.(*A).Work
<autogenerated>:1 0x454b80 main.(*A).Work
<autogenerated>:1 0x454b9b main.(*A).Work
<autogenerated>:1 0x454ba0 main.(*A).Work
issue48344.go:25 0x4549f3 main.f
issue48344.go:25 0x4549f8 main.f
issue48453.go:20 0x455c25 main.CopyMap
error compiling /usr/local/go/test/typeparam/issue48711.go: # command-line-arguments
/usr/local/go/test/typeparam/issue48711.go:9:8: instantiation cycle:
/usr/local/go/test/typeparam/issue48711.go:13:11: T instantiated as []T
error compiling /usr/local/go/test/typeparam/issue48962.go: # command-line-arguments
/usr/local/go/test/typeparam/issue48962.go:9:6: invalid recursive type T0["".T1]
/usr/local/go/test/typeparam/issue48962.go:9:6: T0["".T1] refers to
/usr/local/go/test/typeparam/issue48962.go:9:6: T0["".T1]
list2.go:607 0x47e4fd main.TestList
list2.go:607 0x47e567 main.TestList
list2.go:607 0x484d83 main.checkList
list2.go:607 0x484d88 main.checkList
list2.go:607 0x485271 main.checkList
list2.go:607 0x485279 main.checkList
<autogenerated>:1 0x485760 main.(*_List).Len
<autogenerated>:1 0x485766 main.(*_List).Len
<autogenerated>:1 0x485782 main.(*_List).Len
<autogenerated>:1 0x4857b0 main.(*_List).Len
<autogenerated>:1 0x4857bf main.(*_List).Len
<autogenerated>:1 0x4857c0 main.(*_List).Len
<autogenerated>:1 0x485920 main.(*_List).Len
<autogenerated>:1 0x485926 main.(*_List).Len
<autogenerated>:1 0x485942 main.(*_List).Len
<autogenerated>:1 0x485970 main.(*_List).Len
<autogenerated>:1 0x48597f main.(*_List).Len
<autogenerated>:1 0x485980 main.(*_List).Len
maps.go:259 0x47f24b main.TestKeys
maps.go:259 0x47f24d main.TestKeys
maps.go:259 0x47f2cb main.TestKeys
maps.go:259 0x47f2cd main.TestKeys
maps.go:259 0x47f6eb main.TestValues
maps.go:259 0x47f6ed main.TestValues
maps.go:259 0x47f898 main.TestValues
maps.go:259 0x47f89a main.TestValues
maps.go:259 0x47fbcb main.TestEqual
maps.go:259 0x47fbcd main.TestEqual
maps.go:259 0x47fca2 main.TestEqual
maps.go:259 0x47fca8 main.TestEqual
maps.go:259 0x47fd4d main.TestEqual
maps.go:259 0x47fd4f main.TestEqual
maps.go:259 0x4801ba main.TestCopy
maps.go:259 0x4801bc main.TestCopy
maps.go:259 0x48020b main.TestCopy
maps.go:259 0x48020d main.TestCopy
maps.go:259 0x480477 main.TestAdd
maps.go:259 0x480479 main.TestAdd
maps.go:259 0x480480 main.TestAdd
maps.go:259 0x4806c5 main.TestAdd
maps.go:259 0x4806c7 main.TestAdd
maps.go:259 0x480bcb main.TestSub
maps.go:259 0x480bcd main.TestSub
maps.go:259 0x480e97 main.TestIntersect
maps.go:259 0x480e99 main.TestIntersect
maps.go:259 0x480ea0 main.TestIntersect
maps.go:259 0x48106e main.TestIntersect
maps.go:259 0x481070 main.TestIntersect
maps.go:259 0x4813f5 main.TestFilter
maps.go:259 0x4813f7 main.TestFilter
maps.go:259 0x4814b0 main.TestFilter
maps.go:259 0x4814b2 main.TestFilter
maps.go:259 0x48187c main.TestTransformValues
maps.go:259 0x48187e main.TestTransformValues
metrics.go:195 0x47f0f0 main.TestMetrics
metrics.go:195 0x47f0f2 main.TestMetrics
metrics.go:195 0x47f347 main.TestMetrics
metrics.go:195 0x47f349 main.TestMetrics
metrics.go:195 0x47f41d main.TestMetrics
metrics.go:195 0x47f41f main.TestMetrics
error compiling /usr/local/go/test/typeparam/nested.go: # command-line-arguments
panic: runtime error: slice bounds out of range [:-1]
goroutine 1 [running]:
cmd/compile/internal/typecheck.genericTypeName(...)
/usr/local/go/src/cmd/compile/internal/typecheck/subr.go:1402
cmd/compile/internal/typecheck.(*Tsubster).typ1(0xc0005745c8, 0xc0005587e0)
/usr/local/go/src/cmd/compile/internal/typecheck/subr.go:1106 +0x13dd
cmd/compile/internal/typecheck.(*Tsubster).Typ(0x0?, 0xc000558770?)
/usr/local/go/src/cmd/compile/internal/typecheck/subr.go:1046 +0x25
cmd/compile/internal/noder.(*subster).node.func1({0xe8a538, 0xc000554b60?})
/usr/local/go/src/cmd/compile/internal/noder/stencil.go:903 +0x305
cmd/compile/internal/ir.(*Decl).editChildren(0xc000566768, 0xe89598?)
/usr/local/go/src/cmd/compile/internal/ir/node_gen.go:462 +0x3c
cmd/compile/internal/ir.EditChildren(...)
/usr/local/go/src/cmd/compile/internal/ir/visit.go:185
cmd/compile/internal/noder.(*subster).node.func1({0xe89598, 0xc000507dd0?})
/usr/local/go/src/cmd/compile/internal/noder/stencil.go:955 +0x52f
cmd/compile/internal/noder.(*subster).node(0xc0005745b0, {0xe89598, 0xc000507dd0})
/usr/local/go/src/cmd/compile/internal/noder/stencil.go:1171 +0xa5
cmd/compile/internal/noder.(*subster).list(0x13c3e38?, {0xc000381300, 0x10, 0xc0003a83c0?})
/usr/local/go/src/cmd/compile/internal/noder/stencil.go:1426 +0x8e
cmd/compile/internal/noder.(*genInst).genericSubst(0x1382d60, 0xc00056f950, 0xc000554270, {0xc000371c58, 0x1, 0x1}, 0x0, 0xc000566630)
/usr/local/go/src/cmd/compile/internal/noder/stencil.go:803 +0xce6
cmd/compile/internal/noder.(*genInst).getInstantiation(0x1382d60, 0xc000554270, {0xc000371c50, 0x1, 0xe84d68?}, 0xb8?)
/usr/local/go/src/cmd/compile/internal/noder/stencil.go:680 +0x298
cmd/compile/internal/noder.(*genInst).scanForGenCalls.func1({0xe88f58, 0xc000560360?})
/usr/local/go/src/cmd/compile/internal/noder/stencil.go:169 +0x2df
cmd/compile/internal/ir.Visit.func1({0xe88f58, 0xc000560360})
/usr/local/go/src/cmd/compile/internal/ir/visit.go:105 +0x30
cmd/compile/internal/ir.doNodes(...)
/usr/local/go/src/cmd/compile/internal/ir/node_gen.go:1512
cmd/compile/internal/ir.(*Func).doChildren(0xe898b8?, 0xc000566618?)
/usr/local/go/src/cmd/compile/internal/ir/func.go:152 +0x6e
cmd/compile/internal/ir.DoChildren(...)
/usr/local/go/src/cmd/compile/internal/ir/visit.go:94
cmd/compile/internal/ir.Visit.func1({0xe898b8, 0xc000546b00})
/usr/local/go/src/cmd/compile/internal/ir/visit.go:106 +0x57
cmd/compile/internal/ir.Visit({0xe898b8, 0xc000546b00}, 0xc00055c440)
/usr/local/go/src/cmd/compile/internal/ir/visit.go:108 +0xb8
cmd/compile/internal/noder.(*genInst).scanForGenCalls(0x1382d60, {0xe898b8, 0xc000546b00})
/usr/local/go/src/cmd/compile/internal/noder/stencil.go:151 +0x1f0
cmd/compile/internal/noder.(*genInst).buildInstantiations(0x1382d60, 0x1)
/usr/local/go/src/cmd/compile/internal/noder/stencil.go:65 +0x3c8
cmd/compile/internal/noder.BuildInstantiations(...)
/usr/local/go/src/cmd/compile/internal/noder/stencil.go:47
cmd/compile/internal/noder.(*irgen).generate(0xc0004ea000, {0xc000062780, 0x2, 0x203000?})
/usr/local/go/src/cmd/compile/internal/noder/irgen.go:320 +0x3db
cmd/compile/internal/noder.check2({0xc000062780, 0x2, 0x2})
/usr/local/go/src/cmd/compile/internal/noder/irgen.go:92 +0x16d
cmd/compile/internal/noder.LoadPackage({0xc00001e250, 0x2, 0x0?})
/usr/local/go/src/cmd/compile/internal/noder/noder.go:90 +0x335
cmd/compile/internal/gc.Main(0xd44010)
/usr/local/go/src/cmd/compile/internal/gc/main.go:191 +0xb13
main.main()
/usr/local/go/src/cmd/compile/main.go:55 +0xdd
orderedmap.go:285 0x48b0d8 main.TestMap
orderedmap.go:285 0x48b0da main.TestMap
sets.go:279 0x47f1b5 main.TestSet
sets.go:279 0x47f1b7 main.TestSet
sets.go:279 0x47f7e5 main.TestEqual
sets.go:279 0x47f7e7 main.TestEqual
sets.go:279 0x47f86b main.TestEqual
sets.go:279 0x47f86d main.TestEqual
sets.go:279 0x47fbb9 main.TestCopy
sets.go:279 0x47fbbb main.TestCopy
sets.go:279 0x47fc02 main.TestCopy
sets.go:279 0x47fc04 main.TestCopy
sets.go:279 0x47feef main.TestAddSet
sets.go:279 0x47fef1 main.TestAddSet
sets.go:279 0x48028b main.TestSubSet
sets.go:279 0x48028d main.TestSubSet
sets.go:279 0x4806ab main.TestIntersect
sets.go:279 0x4806ad main.TestIntersect
sets.go:279 0x480cfc main.TestFilter
sets.go:279 0x480cfe main.TestFilter
slices.go:317 0x47ed4b main.TestEqual
slices.go:317 0x47ed4d main.TestEqual
slices.go:317 0x47edf7 main.TestEqual
slices.go:317 0x47edf9 main.TestEqual
slices.go:317 0x47eeab main.TestEqual
slices.go:317 0x47eeb1 main.TestEqual
slices.go:317 0x47ef7a main.TestEqual
slices.go:317 0x47ef7c main.TestEqual
slices.go:317 0x47f9b9 main.TestEqualFn
slices.go:317 0x47f9bf main.TestEqualFn
slices.go:317 0x47fa19 main.TestEqualFn
slices.go:317 0x47fa1b main.TestEqualFn
slices.go:317 0x47fcb6 main.TestEqualFn
slices.go:317 0x47fcb8 main.TestEqualFn
slices.go:317 0x4803d5 main.TestMap
slices.go:317 0x4803d7 main.TestMap
slices.go:317 0x4805ab main.TestMap
slices.go:317 0x4805ad main.TestMap
slices.go:317 0x481042 main.TestFilter
slices.go:317 0x481044 main.TestFilter
slices.go:317 0x4826eb main.TestAppend
slices.go:317 0x4826ed main.TestAppend
slices.go:317 0x482a0e main.TestCopy
slices.go:317 0x482a10 main.TestCopy
error compiling /usr/local/go/test/typeparam/tparam1.go: # command-line-arguments
/usr/local/go/test/typeparam/tparam1.go:24:7: T redeclared in this block
/usr/local/go/test/typeparam/tparam1.go:24:4: other declaration of T
/usr/local/go/test/typeparam/tparam1.go:29:11: T redeclared in this block
/usr/local/go/test/typeparam/tparam1.go:29:8: other declaration of T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment