BrightScript Debugger> l = [1,2]: l.append(l): ? l
BRIGHTSCRIPT: ERROR: roArray.Append: parameter is self reference
<Component: roArray> =
[
1
2
]
Okay, so this is just lazy!
😛Best would be if it actually worked, like in "normal" languages.
If it doesn't though, it should be a proper error and not a warning.