You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The attribute default_instance currently does not support local and scoped modifiers.
Motivation:
/-- info: 1 + 2 : Nat -/
#guard_msgs in #check 1 + 2
@[local default_instance 101] -- Error: `default_instance` must be global
instance instOfNatInt (n : Nat) : OfNat Int n where
ofNat := n
/-- info: 1 + 2 : Int -/
#guard_msgs in #check 1 + 2
The text was updated successfully, but these errors were encountered:
The attribute
default_instance
currently does not supportlocal
andscoped
modifiers.Motivation:
The text was updated successfully, but these errors were encountered: