Calling any of the functions curve, fillArea, frameArea or transform in the canvas namespace with arrays containing non-builtin objects results in the message internal interpreter error; Cannot read properties of undefined (reading 'length').
To Reproduce
class A {}
var a = A();
# Raise internal interpreter error:
# canvas.curve([a], false);
# canvas.fillArea([a]);
# canvas.frameArea([a]);
# canvas.transform([a, a], [a, a]);
# Raise runtime type error as expected:
# String.fromUnicode([a]);
# audio.MonoSound([a], 8000);
# audio.StereoSound([a], [a], 8000);
Description
Calling any of the functions
curve
,fillArea
,frameArea
ortransform
in thecanvas
namespace with arrays containing non-builtin objects results in the messageinternal interpreter error; Cannot read properties of undefined (reading 'length')
.To Reproduce