aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHugo Herbelin2019-05-21 18:49:01 +0200
committerHugo Herbelin2019-12-04 20:24:29 +0100
commit19b1345540fcd577fa0322791cd25a8e36b5c71f (patch)
tree7d529d0853c7b5a0fef394785a2ea61eccec0b33 /lib
parent20642607f48d8c4ac8978c0f0f17e14bfa9bd335 (diff)
Manual implicit arguments: more robustness tests.
- Warn in some places where {x:T} is not assumed to occur (e.g. in argument of an application, or of a match). - Warn when an implicit argument occurs several times with the same name. - Accept local anonymous {_:T} with explicitation possible using name `arg_k`. We obtain this by using a flag (impl_binder_index) which tells if we are in a position where implicit arguments matter and, if yes, the index of the next binder.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions