blob: eb2a1d40de83b39ea12c638a60e5041bbc39d1e8 [file]
set_option warn.classDefReducibility false
class MyMod where
(a : Nat)
namespace MyMod
variable [MyMod]
def b := a + 1
end MyMod
def myMod1 : MyMod := ⟨0⟩
#guard myMod1.a == 0
#guard myMod1.b == 1