[bug #59775] "error: mark_as_constructed: invalid object" when constructor returns classdef array
Mark Goldberg <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.
Follow-up Comment #11, bug #59775 (group octave):
Good news Thomas! By modifying the calling syntax from
obj.method(varargin)
to
method(obj,varargin)
all 28 methods in my non-trivial value class behave identically whether
running in GNU Octave or MATLAB. My unit tests did not produce any hard
(abort) failures. The only anomaly I've seen thus far is the size reported by
"whos" is 0 bytes for any object whose type is that of my value class. This
occurs for both object arrays and scalar objects.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59775>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaa23qQAKCRCqLAuaBUf3 TqW1AP9iJltsqGcuH0gRDxz0hKqtlyLJXFHRhs6/PpeiDqP2BQD9FXkHC2cEA1Cd 7h3Lzkmr2dlfmWhqM2Q2bt1J5rN90w8= =6O0v -----END PGP SIGNATURE-----