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
Two false negatives here when using the -asserts flag:
package main
funcmain() {
variinterface{} ="hello"_=handleInterface(i)
handleString(i.(string)) // This should be reported but isn't
}
funchandleInterface(iinterface{}) string {
returni.(string) // This should be reported but isn't
}
funchandleString(sstring) {}
The text was updated successfully, but these errors were encountered:
Two false negatives here when using the
-asserts
flag:The text was updated successfully, but these errors were encountered: