BadTypeKeyword occurs when a .(type) expression is used anywhere other than a type switch. Example: type I interface { m() } var t I var _ = t.(type)