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: todo: DeferInLoop is not supported - net.(*Resolver).exchange #958

Open
M09Ic opened this issue Jan 14, 2025 · 0 comments
Open

panic: todo: DeferInLoop is not supported - net.(*Resolver).exchange #958

M09Ic opened this issue Jan 14, 2025 · 0 comments

Comments

@M09Ic
Copy link

M09Ic commented Jan 14, 2025

project: https://github.com/chainreactors/gogo

llgo run .
panic: todo: DeferInLoop is not supported - net.(*Resolver).exchange

goroutine 1 [running]:
github.com/goplus/llgo/ssa.(*aBuilder).Defer(0xc029697e00, 0x4, {{0xc000038000?}, 0xc019e8d300?}, {0xb366b8?, 0x0, 0x0})
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/ssa/eh.go:229 +0x3c5
github.com/goplus/llgo/ssa.(*aBuilder).Do(0xc0162077a0?, 0x7f12d0925cd8?, {{0x0?}, 0xc019e8d300?}, {0xb366b8?, 0x0?, 0x7f12bfbd2050?})
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/ssa/expr.go:1073 +0x47
github.com/goplus/llgo/cl.(*context).call(0xc0162077a0, 0xc029697e00, 0xc0250f5270?, 0xc0250f5278)
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/cl/instr.go:507 +0xc65
github.com/goplus/llgo/cl.(*context).compileInstr(0xc0162077a0, 0x7f12bb2ab988?, {0x8ad820?, 0xc0250f5270?})
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/cl/compile.go:852 +0x678
github.com/goplus/llgo/cl.(*context).compileBlock(0xc0162077a0, 0xc029697e00, 0xc02514aa50, 0xc041e91600?, 0x0, 0x0)
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/cl/compile.go:461 +0xc53
github.com/goplus/llgo/cl.(*context).compileFuncDecl.func1()
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/cl/compile.go:312 +0x62c
github.com/goplus/llgo/cl.NewPackageEx(0xc000004300, 0xc021ebd500, 0xc024535700, {0xc00d168600, 0x3d, 0x3d})
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/cl/compile.go:1050 +0xa04
github.com/goplus/llgo/internal/build.buildPkg(0xc0134bdb60, 0xc00e0da380, 0x0)
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/internal/build/build.go:524 +0x329
github.com/goplus/llgo/internal/build.buildAllPkgs(0xc0134bdb60, {0xc01f41a998?, 0xc023374f00?, 0x82ad8e?}, 0x1c?)
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/internal/build/build.go:351 +0x569
github.com/goplus/llgo/internal/build.Do({0xc0000241a0?, 0x1?, 0x1?}, 0xc000076600)
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/internal/build/build.go:205 +0xc05
github.com/goplus/llgo/cmd/internal/run.runCmdEx(0xc000137e88?, {0xc0000241a0, 0x1, 0x1}, 0x2)
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/cmd/internal/run/run.go:68 +0x10d
github.com/goplus/llgo/cmd/internal/run.runCmd(0xc000076180?, {0xc0000241a0?, 0x0?, 0xc00004a6f8?})
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/cmd/internal/run/run.go:52 +0x25
main.main()
        /home/ubuntu/go/pkg/mod/github.com/goplus/[email protected]/cmd/llgo/llgo.go:92 +0x4d4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant