Update to go1.25.0
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
package main
|
||||
|
||||
func main() {
|
||||
_ = copy(nil, []int{}) // ERROR "use of untyped nil|left argument must be a slice|expects slice arguments"
|
||||
_ = copy([]int{}, nil) // ERROR "use of untyped nil|second argument must be slice or string|expects slice arguments"
|
||||
_ = copy(nil, []int{}) // ERROR "use of untyped nil|left argument must be a slice|argument must be a slice; have untyped nil"
|
||||
_ = copy([]int{}, nil) // ERROR "use of untyped nil|second argument must be slice or string|argument must be a slice; have untyped nil"
|
||||
_ = 1 + true // ERROR "mismatched types untyped int and untyped bool|incompatible types|cannot convert"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user