there is no reason for it to be a function here (though I agree that the testsuite does things in a weird way as it passes a context of variables as if they were functions for the compilation test)