Skip to content

Commit

Permalink
Merge pull request #281 from dpvc/issue280
Browse files Browse the repository at this point in the history
Don't force the result of adding two sets to be a Union.  #280
  • Loading branch information
goehle authored Aug 30, 2016
2 parents e34621f + bb29e9c commit 9226dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Value/Set.pm
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ sub promote {
#
sub add {
my ($self,$l,$r) = Value::checkOpOrderWithPromote(@_);
$self->Package("Union")->new($l,$r);
return Value::Union::form($self->context,$l,$r);
}
sub dot {my $self = shift; $self->add(@_)}

Expand Down

0 comments on commit 9226dcc

Please sign in to comment.