Skip to content

Commit

Permalink
fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nikpivkin committed Apr 20, 2024
1 parent 5acfdf0 commit 626f59d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ast/map.go
Expand Up @@ -72,7 +72,7 @@ func (vs *ValueMap) Len() int {
func (vs *ValueMap) Get(k Value) Value {
if vs != nil {
if v, ok := vs.hashMap.Get(k); ok {
return v.(Value)
return v
}
}
return nil
Expand Down
2 changes: 1 addition & 1 deletion topdown/copypropagation/unionfind.go
Expand Up @@ -94,7 +94,7 @@ func (uf *unionFind) String() string {
}

uf.roots.Iter(func(k ast.Value, v *unionFindRoot) bool {
o.Roots[k.(ast.Value).String()] = struct {
o.Roots[k.String()] = struct {
Constant *ast.Term
Key ast.Value
}{
Expand Down

0 comments on commit 626f59d

Please sign in to comment.