|Anonymous | Login||12-01-2021 10:18 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0004236||[Croquet] Hedgehog||minor||always||07-12-06 08:08||07-12-06 08:08|
|Summary||0004236: Matrix + Vector3 gives infinite recursion, rather than error|
Just an unfortunate trap for the unwary...
Matrix4x4 identity + (1@1@1)
gives an infinite recursion.
The + is handled by FloatArray as
^ self clone += anObject
which invokes Matrix4x4 +=;
that tries a primitive, which fails,
and then falls back to
^super + anObject.
which is a recursive call to FloatArray +,
which clones again and calls += again.
Of course it's a bug to call matrix+vector in the first place,
but the punishment seems a little disproportionate :-).
|There are no notes attached to this issue.|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
27 total queries executed.|
24 unique queries executed.