bad_error4.lean:5:0: error: type mismatch at application
  {f := λ (a : unit) (b : delayed[?m_1]), delayed[?m_3]}
term
  λ (a : unit) (b : delayed[?m_1]), delayed[?m_3]
has type
  Π (a : unit) (b : delayed[?m_1]), delayed[?m_2]
but is expected to have type
  unit → unit
bad_error4.lean:4:11: warning: declaration 'bar' uses sorry
