Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: multiple fields with the same name #82

Open
tsingbx opened this issue Dec 24, 2024 · 0 comments
Open

panic: multiple fields with the same name #82

tsingbx opened this issue Dec 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tsingbx
Copy link
Contributor

tsingbx commented Dec 24, 2024

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/[email protected]/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?)
...
@tsingbx tsingbx self-assigned this Dec 25, 2024
@luoliwoshang luoliwoshang added the bug Something isn't working label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants