Moved function check inside compileExp