Narrows a definition written against one concrete kind to the union its table is keyed on.
The switches these tables replaced carried a cast per branch per method — twelve in ShapeUtil,
twelve in EdgeUtil. Writing each entry against its own type collapses all of them into the one
cast below, which is the only place a kind's type is asserted rather than checked.
Narrows a definition written against one concrete kind to the union its table is keyed on.
The switches these tables replaced carried a cast per branch per method — twelve in
ShapeUtil, twelve inEdgeUtil. Writing each entry against its own type collapses all of them into the one cast below, which is the only place a kind's type is asserted rather than checked.