Skip to content

Commit

Permalink
Merge pull request Workiva#167 from szyhf/master
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinhiatt-wf authored Mar 31, 2017
2 parents dd1dc71 + 7af45e8 commit ceededf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions set/dict.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ func New(items ...interface{}) *Set {
for _, item := range items {
set.items[item] = struct{}{}
}

if len(items) > 0 {
set.flattened = nil
}

return set
}
Expand Down

0 comments on commit ceededf

Please sign in to comment.