Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Baggy/Setty coercers need listification by default
  • Loading branch information
lizmat committed Apr 2, 2017
1 parent fb5d726 commit 94cb73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Any.pm
Expand Up @@ -433,13 +433,13 @@ my class Any { # declared in BOOTSTRAP
}
method FLATTENABLE_HASH() is nodal { nqp::hash() }

# XXX GLR do these really need to force a list?
method Set() is nodal { Set.new-from-pairs(self.list) }
method SetHash() is nodal { SetHash.new-from-pairs(self.list) }
method Bag() is nodal { Bag.new-from-pairs(self.list) }
method BagHash() is nodal { BagHash.new-from-pairs(self.list) }
method Mix() is nodal { Mix.new-from-pairs(self.list) }
method MixHash() is nodal { MixHash.new-from-pairs(self.list) }
# XXX GLR does this really need to force a list?
method Supply() is nodal { self.list.Supply }

method nl-out() { "\n" }
Expand Down

0 comments on commit 94cb73b

Please sign in to comment.