fix: NameSet.insert return type
This commit is contained in:
parent
af8dc5eeab
commit
b4ea61e79d
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ namespace NameSet
|
|||
def empty : NameSet := mkRBTree Name Name.quickLt
|
||||
instance : HasEmptyc NameSet := ⟨empty⟩
|
||||
instance : Inhabited NameSet := ⟨{}⟩
|
||||
def insert (s : NameSet) (n : Name) := Std.RBTree.insert s n
|
||||
def insert (s : NameSet) (n : Name) : NameSet := Std.RBTree.insert s n
|
||||
def contains (s : NameSet) (n : Name) : Bool := Std.RBMap.contains s n
|
||||
|
||||
end NameSet
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue