lean4-htt/tests
Leonardo de Moura 19e4c30542 feat: elaborate new let decl
We can now write
```lean
syntax "case!" ident ":" term "with" term "," term : term
macro_rules
| `(case! $h : $c with $t, $e) => `(let $h := $c; cond $h $t $e)
```

Before the series of commits to change `let` syntax, the
quasiquotation `(let $h := $c; cond $h $t $e)
produced the weird error message "`;` expected" at ":=".
The problem was that $h was matching the now deleted "nonterminal"
```lean
def letIdDecl         := parser! try (letIdLhs >> " := ") >> termParser
```
This was not a bug, but a side-effect on how the `let` syntax was
declared.

cc @kha
2020-01-25 16:32:21 -08:00
..
bench feat: file IO using handles 2020-01-12 08:02:48 -08:00
compiler chore: fix tests 2020-01-20 22:26:07 -08:00
elabissues test: pattern confusion example 2019-12-19 13:36:22 -08:00
ir chore(tests): fix do syntax in tests 2019-06-30 13:04:34 +02:00
lean feat: elaborate new let decl 2020-01-25 16:32:21 -08:00
playground test: add termElab attribute test 2020-01-01 14:16:49 -08:00
plugin feat: file IO using handles 2020-01-12 08:02:48 -08:00