simplify types.TypeName panic logic
The logic
if X || Y {
if X {
<X panic>
}
<Y panic>
}
is equivalent to, and easier to read as:
if X {
<X panic>
}
if Y {
<Y panic>
}
It probably evolved unintentionally to be this way.
pull/632/head
parent
9a0d48c27e
commit
21a5eb1720
Loading…
Reference in New Issue