Skip to content

Commit 1b0b5ec

Browse files
authored
Merge pull request #645 from drgrice1/bug/another-609-regression
Fix another regression caused by #609.
2 parents 4400e4f + 5b90c7f commit 1b0b5ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

macros/parserAssignment.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ sub new {
357357
sub typeMatch {
358358
my $self = shift; my $other = shift; my $ans = shift;
359359
return 0 unless $self->type eq $other->type;
360+
$other = $other->Package("Formula")->new($self->context,$other) unless $other->isFormula;
360361
my $typeMatch = $self->getTypicalValue($self)->{data}[1];
361362
$other = $self->getTypicalValue($other,1)->{data}[1];
362363
return 1 unless defined($other); # can't really tell, so don't report type mismatch

0 commit comments

Comments
 (0)