We still use AST nodes (ScopeNodes, particularly FunctionBodyNodes) within the runtime, which means that these nodes must be persisted outside of the arena, contain both parser & runtime data, etc. This is all a bit of a mess. Move functionality into a new FunctionExecutable class.
Created attachment 34988 [details] The Patch
Transmitting file data .......................................... Committed revision 47412. Transmitting file data . Committed revision 47413.