We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4400e4f + 5b90c7f commit 1b0b5ecCopy full SHA for 1b0b5ec
macros/parserAssignment.pl
@@ -357,6 +357,7 @@ sub new {
357
sub typeMatch {
358
my $self = shift; my $other = shift; my $ans = shift;
359
return 0 unless $self->type eq $other->type;
360
+ $other = $other->Package("Formula")->new($self->context,$other) unless $other->isFormula;
361
my $typeMatch = $self->getTypicalValue($self)->{data}[1];
362
$other = $self->getTypicalValue($other,1)->{data}[1];
363
return 1 unless defined($other); # can't really tell, so don't report type mismatch
0 commit comments