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: unexpected object with 1 implicit type parameter(s) #18

Open
cinemast opened this issue Sep 5, 2023 · 1 comment
Open

panic: unexpected object with 1 implicit type parameter(s) #18

cinemast opened this issue Sep 5, 2023 · 1 comment
Assignees

Comments

@cinemast
Copy link

cinemast commented Sep 5, 2023


goroutine 2143 [running]:
golang.org/x/tools/go/internal/gcimporter.errorf(...)
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/internal/gcimporter/bimport.go:171
golang.org/x/tools/go/internal/gcimporter.(*pkgReader).objDictIdx(0xc004b306c0, 0x4e13cb0?)
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/internal/gcimporter/ureader_yes.go:591 +0x399
golang.org/x/tools/go/internal/gcimporter.(*pkgReader).objIdx(0xc004b306c0, 0x6?)
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/internal/gcimporter/ureader_yes.go:494 +0x225
golang.org/x/tools/go/internal/gcimporter.readUnifiedPackage(0xc0000297c0, 0x0, 0xc00534aae0, {0x1, 0x0, {0xc0001941b0, 0x23}, {0xc0027069e0, 0x20e9e}, {0xc001ea4000, ...}, ...})
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/internal/gcimporter/ureader_yes.go:110 +0x45b
golang.org/x/tools/go/internal/gcimporter.UImportData(0xee8460?, 0xc0007e6480?, {0xc002618001?, 0x45?, 0xc00534aae0?}, {0xc0001941b0, 0x23})
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/internal/gcimporter/ureader_yes.go:68 +0x12a
golang.org/x/tools/go/gcexportdata.Read({0xee8460?, 0xc0007e6480?}, 0x0?, 0x0?, {0xc0001941b0, 0x23})
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/gcexportdata/gcexportdata.go:134 +0x2b0
golang.org/x/tools/go/packages.(*loader).loadFromExportData(0xc00014a000, 0xc000e26ba0)
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:1278 +0x472
golang.org/x/tools/go/packages.(*loader).loadPackage(0xc00014a000, 0xc000e26ba0)
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:882 +0x56a
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1()
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:847 +0x1a9
sync.(*Once).doSlow(0x0?, 0x0?)
        C:/Program Files/Go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
        C:/Program Files/Go/src/sync/once.go:65
golang.org/x/tools/go/packages.(*loader).loadRecursive(0x0?, 0x0?)
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:835 +0x52
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:842 +0x2c
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1
        C:/Users/cinemast/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:841 +0x8f```
Copy link
Owner

kyoh86 commented Sep 6, 2023

@cinemast Could you give me a code to reproduce it?
I can't reproduce it in my hand.

@kyoh86 kyoh86 assigned cinemast and unassigned kyoh86 Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants