- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TypeErrorEndPos (0.09 sec)
-
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
package analysisinternal import ( "bytes" "fmt" "go/ast" "go/token" "go/types" "os" "strconv" "golang.org/x/tools/go/analysis" "golang.org/x/tools/internal/aliases" ) func TypeErrorEndPos(fset *token.FileSet, src []byte, start token.Pos) token.Pos { // Get the end position for the type error. offset, end := fset.PositionFor(start, false).Offset, start if offset >= len(src) { return end }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0)