Update variant.d

Fixed handling of a struct with no "length" field defined but with opDispatch of inappropriate type.