Set/get attributes in [JSUI] causes crash
This seems to be only affecting Max when running as an Apple Silicon Native app. Tested on Max 8.2.1.
Declaring an attribute in a [JSUI] with a setter and getter will cause a crash upon save.
This also happens when editing Max for Live devices in the latest Apple Silicon-compatible Live beta - it simply crashes if you try to open a Max for Live device containing a [JSUI] object with attribute setters and getters.
To reproduce, add a [JSUI] object and have it use the script below - try to save the patcher and it will crash.
var foo = 0
declareattribute("foo", "getfoo", "setfoo", 1)
function setfoo(x)
{
foo = x
}
function getfoo()
{
return foo
}