1)B_instance <- B;
2)B_instance <- B();
3)B_instance.IndirectUseOfBaseClassVar;
4)B_instance.IndirectUseOfBaseClassVar();
I don't see the issue, all the above expressions are both semantically and syntactically correct.
1) assigns the class B(not the instance) in the new slot B_instance;
2) creates an instance of B and and assigns it to B_instace
3)fetches the function(static slot) IndirectUseOfBaseClassVar, this can seem usesless without an assignement but in squirrel fetching a variable can have side effects (for instance if is fetched though a _get metamethod).
4)fetches the function(static slot) IndirectUseOfBaseClassVar and invokes it.
semicolons are optionals in squirrel.
I hope this helps
Alberto