Closed A0817 closed 10 months ago
../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:137:20: error: expected ‘(’ 137 | func propertySearch[E interface{ [3]int | [4]int }](dictionary []E, r rune) (result E) { | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:137:23: error: expected ‘]’ 137 | func propertySearch[E interface{ [3]int | [4]int }](dictionary []E, r rune) (result E) { | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:137:23: error: expected ‘;’ or newline after top level declaration ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:140:9: error: expected declaration 140 | to := len(dictionary) | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:141:9: error: expected declaration 141 | for to > from { | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:143:17: error: expected declaration 143 | cpRange := dictionary[middle] | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:144:17: error: expected declaration 144 | if int(r) < cpRange[0] { | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:146:25: error: expected declaration 146 | continue | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:147:17: error: expected declaration 147 | } | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:148:17: error: expected declaration 148 | if int(r) > cpRange[1] { | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:150:25: error: expected declaration 150 | continue | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:151:17: error: expected declaration 151 | } | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:152:17: error: expected declaration 152 | return cpRange | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:153:9: error: expected declaration 153 | } | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:154:9: error: expected declaration 154 | return | ^ ../go/pkg/mod/github.com/rivo/uniseg@v0.4.4/properties.go:155:1: error: expected declaration 155 | } | ^
Upgrade your Go version to >=1.18