Additions to Lean.Elab.Tactic.Basic #
Return expected type for the main goal, cleaning up annotations, using Lean.MVarId.getType''.
Remark: note that MVarId.getType' uses whnf instead of cleanupAnnotations, and
MVarId.getType'' also uses cleanupAnnotations
Equations
- Lean.Elab.Tactic.getMainTarget'' = do let __do_lift ← Lean.Elab.Tactic.getMainGoal liftM __do_lift.getType''