class P def main .one .two def one d = Dictionary() keys = for key in d.keys get key # used to generate false compilation error assert keys.count == 0 d['a'] = 1 keys = for key in d.keys get key assert keys == ['a'] def two d = MyDict() keys = for key in d.keys get key # used to generate false compilation error assert keys.count == 0 d['a'] = 1 keys = for key in d.keys get key assert keys == ['a'] class MyDict inherits Dictionary # this decl helped trigger the false compilation error pass