diff --git a/macros/contexts/contextFraction.pl b/macros/contexts/contextFraction.pl index 539db4e3e..4c559b523 100644 --- a/macros/contexts/contextFraction.pl +++ b/macros/contexts/contextFraction.pl @@ -781,7 +781,7 @@ package context::Fraction::Parser::Number; sub new { my $self = shift; - my $num = &{ $self->super('new') }($self, @_); + my $num = &{ $self->super('new', $_[0]->context) }($self, @_); $num->setExtensionClass('INTEGER') if $num->{value_string} =~ m/^[-+]?[0-9]+$/; return $num->mutate; }