Skip to content

Commit

Permalink
Merge pull request #645 from drgrice1/bug/another-609-regression
Browse files Browse the repository at this point in the history
Fix another regression caused by #609.
  • Loading branch information
pstaabp authored Feb 6, 2022
2 parents 4400e4f + 5b90c7f commit 1b0b5ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions macros/parserAssignment.pl
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ sub new {
sub typeMatch {
my $self = shift; my $other = shift; my $ans = shift;
return 0 unless $self->type eq $other->type;
$other = $other->Package("Formula")->new($self->context,$other) unless $other->isFormula;
my $typeMatch = $self->getTypicalValue($self)->{data}[1];
$other = $self->getTypicalValue($other,1)->{data}[1];
return 1 unless defined($other); # can't really tell, so don't report type mismatch
Expand Down

0 comments on commit 1b0b5ec

Please sign in to comment.