You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another variation of #21988, this time using an interface type. Found it manually by inspecting the source code as there was a .Val().Interface() use without the appropriate .Type == nil check.
Reproducer:
package p
const X = Wrong(0)
func _() {
switch interface{}(nil) {
case X:
}
}
Another variation of #21988, this time using an interface type. Found it manually by inspecting the source code as there was a
.Val().Interface()
use without the appropriate.Type == nil
check.Reproducer:
Reproduces on both
go version devel +0d0c1132f6 Wed Sep 27 04:01:40 2017 +0000 linux/amd64
and 1.9.The text was updated successfully, but these errors were encountered: