# command-line-arguments
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc020461428 stack=[0xc020460000, 0xc040460000]
fatal error: stack overflow
runtime stack:
runtime.throw({0x143863c, 0x1a3afc0})
C:/Users/reus/gotip/src/runtime/panic.go:965 +0x76
runtime.newstack()
C:/Users/reus/gotip/src/runtime/stack.go:1085 +0x5cc
runtime.morestack()
C:/Users/reus/gotip/src/runtime/asm_amd64.s:422 +0x93
goroutine 1 [running]:
cmd/compile/internal/typecheck.(*Tsubster).typ1(0xc04045ecf0, 0xc0000a5420)
C:/Users/reus/gotip/src/cmd/compile/internal/typecheck/subr.go:1021 +0x13e8 fp=0xc020461438 sp=0xc020461430 pc=0xd65088
cmd/compile/internal/typecheck.(*Tsubster).tstruct(0xc04045ecf0, 0xc0000a5650, 0x0)
C:/Users/reus/gotip/src/cmd/compile/internal/typecheck/subr.go:1287 +0x15c fp=0xc0204614d8 sp=0xc020461438 pc=0xd651fc
cmd/compile/internal/typecheck.(*Tsubster).typ1(0xc04045ecf0, 0xc0000a5420)
C:/Users/reus/gotip/src/cmd/compile/internal/typecheck/subr.go:1138 +0x1ad fp=0xc0204616e0 sp=0xc0204614d8 pc=0xd63e4d
cmd/compile/internal/typecheck.(*Tsubster).tstruct(0xc04045ecf0, 0xc0000a5650, 0x0)
C:/Users/reus/gotip/src/cmd/compile/internal/typecheck/subr.go:1287 +0x15c fp=0xc020461780 sp=0xc0204616e0 pc=0xd651fc
cmd/compile/internal/typecheck.(*Tsubster).typ1(0xc04045ecf0, 0xc0000a5420)
C:/Users/reus/gotip/src/cmd/compile/internal/typecheck/subr.go:1138 +0x1ad fp=0xc020461988 sp=0xc020461780 pc=0xd63e4d
cmd/compile/internal/typecheck.(*Tsubster).tstruct(0xc04045ecf0, 0xc0000a5650, 0x0)
C:/Users/reus/gotip/src/cmd/compile/internal/typecheck/subr.go:1287 +0x15c fp=0xc020461a28 sp=0xc020461988 pc=0xd651fc
cmd/compile/internal/typecheck.(*Tsubster).typ1(0xc04045ecf0, 0xc0000a5420)
C:/Users/reus/gotip/src/cmd/compile/internal/typecheck/subr.go:1138 +0x1ad fp=0xc020461c30 sp=0xc020461a28 pc=0xd63e4d
cmd/compile/internal/typecheck.(*Tsubster).tstruct(0xc04045ecf0, 0xc0000a5650, 0x0)
C:/Users/reus/gotip/src/cmd/compile/internal/typecheck/subr.go:1287 +0x15c fp=0xc020461cd0 sp=0xc020461c30 pc=0xd651fc
cmd/compile/internal/typecheck.(*Tsubster).typ1(0xc04045ecf0, 0xc0000a5420)
C:/Users/reus/gotip/src/cmd/compile/internal/typecheck/subr.go:1138 +0x1ad fp=0xc020461ed8 sp=0xc020461cd0 pc=0xd63e4d
cmd/compile/internal/typecheck.(*Tsubster).tstruct(0xc04045ecf0, 0xc0000a5650, 0x0)
C:/Users/reus/gotip/src/cmd/compile/internal/typecheck/subr.go:1287 +0x15c fp=0xc020461f78 sp=0xc020461ed8 pc=0xd651fc
cmd/compile/internal/typecheck.(*Tsubster).typ1(0xc04045ecf0, 0xc0000a5420)
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (
go env)?go envOutputWhat did you do?
What did you expect to see?
Compile OK
What did you see instead?