tokenizer icon indicating copy to clipboard operation
tokenizer copied to clipboard

please fix this bug: int overflow

Open HgLiJiahao opened this issue 1 year ago • 2 comments

/home/gopath/pkg/mod/github.com/sugarme/[email protected]/tokenizer.go:875:22: cannot use 2 * gb (untyped int constant 2147483648) as int value in argument to scanner.Buffer (overflows)

HgLiJiahao avatar Jan 06 '24 02:01 HgLiJiahao

my go version is go1.21.5

HgLiJiahao avatar Jan 06 '24 03:01 HgLiJiahao

@HgLiJiahao,

Feel free to PR. Thanks

sugarme avatar Jan 06 '24 11:01 sugarme