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

error #10

Open
unicomp21 opened this issue Aug 24, 2021 · 0 comments
Open

error #10

unicomp21 opened this issue Aug 24, 2021 · 0 comments

Comments

@unicomp21
Copy link

dart twirp client compile
panic: runtime error: slice bounds out of range [:1] with length 0

goroutine 1 [running]:
github.com/apptreesoftware/protoc-gen-twirp_dart/generator.camelCase(0xc0002f9e98, 0x7, 0x6, 0xc000122d9b)
/root/go/src/github.com/apptreesoftware/protoc-gen-twirp_dart/generator/client.go:514 +0x248
github.com/apptreesoftware/protoc-gen-twirp_dart/generator.newField(0xc000306230, 0xc0002b0f00, 0xc0002b0870, 0xc00029de18, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/root/go/src/github.com/apptreesoftware/protoc-gen-twirp_dart/generator/client.go:418 +0x101
github.com/apptreesoftware/protoc-gen-twirp_dart/generator.CreateClientAPI(0xc0002b0870, 0xc00029de18, 0x2, 0x2, 0x3)
/root/go/src/github.com/apptreesoftware/protoc-gen-twirp_dart/generator/client.go:334 +0x146
main.generate(0xc00012a1e0, 0xc000128000)
/root/go/src/github.com/apptreesoftware/protoc-gen-twirp_dart/main.go:51 +0x1dc
main.main()
/root/go/src/github.com/apptreesoftware/protoc-gen-twirp_dart/main.go:17 +0x47
--twirp_dart_out: protoc-gen-twirp_dart: Plugin failed with status code 2.

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