panic: multiple fields with the same name
Open
@luoliwoshang is already working on this.
Since Jan 13, 2025.
bug
- Dominant language
- Go
- Stars
- 33
- Forks
- 11
- Avg merge
- 1h 17m
- Merged PRs (30d)
- 51
Description
llcppgtest python-3.12-embed
panic: multiple fields with the same name
goroutine 1 [running]:
go/types.NewStruct({0xc0049f7500, 0x2b4, 0x350}, {0x0, 0x0, 0x0})
/usr/local/Cellar/go@1.21/1.21.13/libexec/src/go/types/struct.go:31 +0x178
github.com/goplus/llcppg/cmd/gogensig/convert.(*TypeConv).RecordTypeToStruct(0x16705b8?, 0xc0085f6cf0)
/Users/xulingjiao/Documents/GitHub/tsingbx-llcppg/cmd/gogensig/convert/type.go:360 +0x115
github.com/goplus/llcppg/cmd/gogensig/convert.(*TypeConv).ToType(0x8?, {0x13aaca0?, 0xc0085f6cf0?})
/Users/xulingjiao/Documents/GitHub/tsingbx-llcppg/cmd/gogensig/convert/type.go:91 +0x159
github.com/goplus/llcppg/cmd/gogensig/convert.(*TypeConv).fieldToVar(0xc00022a900, 0xc0090be280, 0x0, 0xc003b59680?)
/Users/xulingjiao/Documents/GitHub/tsingbx-llcppg/cmd/gogensig/convert/type.go:315 +0xbc
github.com/goplus/llcppg/cmd/gogensig/convert.(*TypeConv).fieldListToVars(0xc0001fe000?, 0xc003b59800?, 0x0?)
...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.