fix: unif_hint under the module system (#9530)

This commit is contained in:
Sebastian Ullrich 2025-07-25 11:05:31 +02:00 committed by GitHub
parent 0ab69a32cb
commit 671057eecf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,7 +77,7 @@ macro_rules
for (c₁, c₂) in cs₁.zip cs₂ |>.reverse do
body ← `($c₁ = $c₂ → $body)
let hint : Ident ← `(hint)
`($[$doc?:docComment]? @[$kind unification_hint] def $(n.getD hint) $bs* : Sort _ := $body)
`($[$doc?:docComment]? @[$kind unification_hint, expose] def $(n.getD hint) $bs* : Sort _ := $body)
end Lean
open Lean