class Foo {} var foo = Foo(); foo(); # expect runtime error: Can only call functions and classes.