Calling go.delete as a callback function for go.animate seems to cause some unexpected behavior.
go.animate("#sprite", "tint", go.PLAYBACK_ONCE_FORWARD, vmath.vector4(0, 0, 0, 0), go.EASING_LINEAR, 3, 0, go.delete)
The intended behavior is to fade the sprite to invisible over 3 seconds, and then deleting the game object. However, the actual behavior is the following (strange) output:
ERROR:SCRIPT: go.delete invoked with too many argumengs
stack traceback:
[C]: at 0x7ff78758b1b0
It also does not delete the game object.
Of course, a local method (containing nothing more than go.delete() in its body) can just be created and call-backed to delete the object, so the severity is not particularly great, but the engine loses some adult points by just yelling too many argumengs when it faces this particular issue.