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
// goes through a special vectorized method, not through GetProperty()!
2177
2177
if (!signature)
2178
2178
{
2179
+
// Note that in this NO_SIGNATURE code path we don't check for a zero-length target and return a zero-length
2180
+
// result; since we have no signature, we have no way to know what type that result should be. The class
2181
+
// implementation of GetProperty_NO_SIGNATURE() will handle the zero-length case.
2179
2182
const EidosClass *target_class = class_;
2180
-
2181
-
if (values_size == 0)
2182
-
EIDOS_TERMINATION << "ERROR (EidosValue_Object::GetPropertyOfElements): property " << EidosStringRegistry::StringForGlobalStringID(p_property_id) << " does not specify an unambiguous value type, and thus cannot be accessed on a zero-length vector." << EidosTerminate(nullptr);
2183
-
2184
2183
EidosValue_SP result = target_class->GetProperty_NO_SIGNATURE(p_property_id, values_, values_size);
2185
2184
2186
2185
// Access of singleton properties retains the matrix/array structure of the target
0 commit comments