danielgtaylor / danielgtaylor/sdt

build failed

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

$ go get -u github.com/danielgtaylor/sdt
# github.com/danielgtaylor/sdt
../../go/pkg/mod/github.com/danielgtaylor/sdt@v0.0.0-20211105155325-edd257a28c8f/validate.go:137:123: invalid operation: match[0] + err.Offset() (mismatched types int and uint16)
../../go/pkg/mod/github.com/danielgtaylor/sdt@v0.0.0-20211105155325-edd257a28c8f/validate.go:150:132: cannot use err.Offset() + 2 (type uint16) as type int in argument to ctx.AddErrorOffset
../../go/pkg/mod/github.com/danielgtaylor/sdt@v0.0.0-20211105155325-edd257a28c8f/validate.go:179:133: cannot use err.Offset() + 2 (type uint16) as type int in argument to ctx.WithPath("$if").AddErrorOffset
../../go/pkg/mod/github.com/danielgtaylor/sdt@v0.0.0-20211105155325-edd257a28c8f/validate.go:206:135: cannot use err.Offset() + 2 (type uint16) as type int in argument to ctx.WithPath("$for").AddErrorOffset

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.