fix: notation

This commit is contained in:
Leonardo de Moura 2020-11-29 08:28:01 -08:00
parent e9069b6965
commit df665eb8fc

View file

@ -69,7 +69,7 @@ private def mkHintBody (cs : Array Syntax) (p : Syntax) : MacroM Syntax := do
return body
macro_rules
| `(unif_hint $bs* where $cs* |- $p) => do
| `(unif_hint $bs:explicitBinder* where $cs* |- $p) => do
let body ← mkHintBody cs p
`(@[unificationHint] def hint $bs:explicitBinder* : Sort _ := $body)
| `(unif_hint $n:ident $bs* where $cs* |- $p) => do