Add implicit cast of runSemantic in TypeofExp.