lean4-htt/library/init
Leonardo de Moura 88cd294a09 feat(src/kernel/error_msgs): show aliased variables when printing error messages
closes #1814

@kenmcmil: the error messages will now list aliased variables.
For example, in your file, the new error message is:

```
invalid type ascription, term has type
  triple (ctxpre c' s_1 ∧ ctxpre c'_1 s_1) (bndngapp b s_1) (ctxpost c' s_1 ∧ ctxpost c'_1 s_1)
but is expected to have type
  triple (ctxpre c' s_1 ∧ ctxpre c'_1 s_1) (bndngapp b s_1) (ctxpost c' s_1 ∧ ctxpost c'_1 s_1)
types contain aliased name(s): c'
remark: the tactic `dedup` can be used to rename aliases
state:
...
```
2017-09-05 16:46:44 -07:00
..
algebra fix(library/init/algebra/ordered_field): remove unused argument from div_two_lt_of_pos 2017-08-24 16:27:42 +02:00
category chore(init/category/combinators): remove monad.for 2017-07-26 11:52:11 +01:00
data fix(library/init/meta/injection_tactic): fixes #1805 2017-09-05 14:20:22 -07:00
meta feat(src/kernel/error_msgs): show aliased variables when printing error messages 2017-09-05 16:46:44 -07:00
native chore(init/category/combinators): remove monad.for 2017-07-26 11:52:11 +01:00
cc_lemmas.lean feat(frontends/lean): use . for field access 2017-03-28 15:29:54 -07:00
classical.lean refactor(init/classical): simplify classical proofs 2017-07-28 16:47:53 +01:00
coe.lean chore(library): convert comments to docstrings 2017-06-12 15:17:00 +02:00
core.lean chore(library/init/core): declare and using structure 2017-09-05 15:08:20 -07:00
default.lean feat(init/meta/attribute,library/tactic/attribute): user_attribute apply handlers 2017-08-02 14:32:39 +01:00
function.lean refactor(frontends/lean/token_table,library): take ~> assume 2017-07-05 11:20:10 -07:00
funext.lean refactor(frontends/lean/token_table,library): take ~> assume 2017-07-05 11:20:10 -07:00
init.md chore(*.md): fix/remove broken links 2016-02-23 10:11:24 -08:00
logic.lean feat(frontends/lean): recursive equation preprocessor 2017-08-18 15:06:11 -07:00
propext.lean feat(frontends/lean): add support for t.<id> and t.<idx> when t is a composite term 2017-03-28 17:47:49 -07:00
relator.lean refactor(frontends/lean/token_table,library): take ~> assume 2017-07-05 11:20:10 -07:00
util.lean refactor(library): has_to_string ==> has_repr 2017-06-18 18:29:19 -07:00
wf.lean refactor(frontends/lean/token_table,library): take ~> assume 2017-07-05 11:20:10 -07:00