Lines Matching refs:base
6 let base = {}
7 func base.method()
10 func base.other() dict
13 let instance = copy(base)
14 call assert_true(base.method == instance.method)
15 call assert_true([base.method] == [instance.method])
16 call assert_true(base.other == instance.other)
17 call assert_true([base.other] == [instance.other])
19 call assert_false(base.method == base.other)
20 call assert_false([base.method] == [base.other])
21 call assert_false(base.method == instance.other)
22 call assert_false([base.method] == [instance.other])
24 call assert_fails('echo base.method > instance.method')