lean4-htt/tests
Leonardo de Moura 84188c5aa1 feat(frontends/lean/elaborator): add pattern validator in the elaborator
@johoelzl We now produce a better message for your example:

   inductive R : ℕ → Prop
   | pos : ∀p n, R (p + n)

   lemma R_id : ∀n, R n → R n
   | (.p + .n) (R.pos p n) := R.pos p n

The new error is:

file.lean:5:2: error: invalid function application in pattern, it cannot be reduced to a constructor (possible solution, mark term as inaccessible using '.( )')
  .p + .n
2017-02-04 19:00:20 -08:00
..
lean feat(frontends/lean/elaborator): add pattern validator in the elaborator 2017-02-04 19:00:20 -08:00
.gitignore refactor(gitignore): remove old ignore entries 2016-12-10 08:42:39 -08:00