Edit: false alarm, see below
Tested on rev1602. Empty lines (or otherwise syntactically insignificant lines, such as comments) can make the saved bytecode unloadable due to some problems with source line debug information. The following fails to load from bytecode unless debug information has been stripped:
funcdef void FUNC();
class T
{
FUNC@ f;
}
void tmain()
{
T t;
@t.f = test;
t.f();
}
void test()
{
}
LoadByteCode() returns asERROR. Removing any of the empty lines before the actual code begins seems to solve the issue.