Fix sealed and final class attributes and super classes
[ASObject] Throw the correct error when trying to set a method
[toplevel] Function generator throws only if argslen > 0