Skip to content

Commit

Permalink
Fix regression in Font::FreeType
Browse files Browse the repository at this point in the history
Thanks to Altai-man++ and dwarring++ for keeping nudging me.  In the
end it turned out to be a stupid copy-pasto :-(
  • Loading branch information
lizmat committed Nov 18, 2020
1 parent 8310690 commit f6cdbd8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/core.c/native_array.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -3714,7 +3714,7 @@ multi sub postcircumfix:<[ ]>(array:D \SELF, Range:D \range ) is raw {
}

#- start of postcircumfix candidates of shaped1strarray ------------------------
#- Generated on 2020-11-15T18:12:53+01:00 by tools/build/makeNATIVE_SHAPED1_CANDIDATES.raku
#- Generated on 2020-11-18T18:33:31+01:00 by tools/build/makeNATIVE_SHAPED1_CANDIDATES.raku
#- PLEASE DON'T CHANGE ANYTHING BELOW THIS LINE

multi sub postcircumfix:<[ ]>(
Expand All @@ -3731,7 +3731,7 @@ multi sub postcircumfix:<[ ]>(array:D \SELF, Range:D \range ) is raw {
multi sub postcircumfix:<[ ]>(
array::shaped1strarray \SELF, int \pos, Str:D \assignee
) is raw {
nqp::atposref_s(nqp::decont(SELF),pos)
nqp::bindpos_s(nqp::decont(SELF),pos,assignee)
}
multi sub postcircumfix:<[ ]>(
array::shaped1strarray \SELF, Int:D \pos, Str:D \assignee
Expand Down Expand Up @@ -3775,7 +3775,7 @@ multi sub postcircumfix:<[ ]>(array:D \SELF, Range:D \range ) is raw {
#- end of postcircumfix candidates of shaped1strarray --------------------------

#- start of postcircumfix candidates of shaped1intarray ------------------------
#- Generated on 2020-11-15T18:12:53+01:00 by tools/build/makeNATIVE_SHAPED1_CANDIDATES.raku
#- Generated on 2020-11-18T18:33:31+01:00 by tools/build/makeNATIVE_SHAPED1_CANDIDATES.raku
#- PLEASE DON'T CHANGE ANYTHING BELOW THIS LINE

multi sub postcircumfix:<[ ]>(
Expand All @@ -3792,7 +3792,7 @@ multi sub postcircumfix:<[ ]>(array:D \SELF, Range:D \range ) is raw {
multi sub postcircumfix:<[ ]>(
array::shaped1intarray \SELF, int \pos, Int:D \assignee
) is raw {
nqp::atposref_i(nqp::decont(SELF),pos)
nqp::bindpos_i(nqp::decont(SELF),pos,assignee)
}
multi sub postcircumfix:<[ ]>(
array::shaped1intarray \SELF, Int:D \pos, Int:D \assignee
Expand Down Expand Up @@ -3836,7 +3836,7 @@ multi sub postcircumfix:<[ ]>(array:D \SELF, Range:D \range ) is raw {
#- end of postcircumfix candidates of shaped1intarray --------------------------

#- start of postcircumfix candidates of shaped1numarray ------------------------
#- Generated on 2020-11-15T18:12:53+01:00 by tools/build/makeNATIVE_SHAPED1_CANDIDATES.raku
#- Generated on 2020-11-18T18:33:31+01:00 by tools/build/makeNATIVE_SHAPED1_CANDIDATES.raku
#- PLEASE DON'T CHANGE ANYTHING BELOW THIS LINE

multi sub postcircumfix:<[ ]>(
Expand All @@ -3853,7 +3853,7 @@ multi sub postcircumfix:<[ ]>(array:D \SELF, Range:D \range ) is raw {
multi sub postcircumfix:<[ ]>(
array::shaped1numarray \SELF, int \pos, Num:D \assignee
) is raw {
nqp::atposref_n(nqp::decont(SELF),pos)
nqp::bindpos_n(nqp::decont(SELF),pos,assignee)
}
multi sub postcircumfix:<[ ]>(
array::shaped1numarray \SELF, Int:D \pos, Num:D \assignee
Expand Down
2 changes: 1 addition & 1 deletion tools/build/makeNATIVE_SHAPED1_CANDIDATES.raku
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ for $*IN.lines -> $line {
multi sub postcircumfix:<[ ]>(
array::shaped1#type#array \SELF, int \pos, #Type#:D \assignee
) is raw {
nqp::atposref_#postfix#(nqp::decont(SELF),pos)
nqp::bindpos_#postfix#(nqp::decont(SELF),pos,assignee)
}
multi sub postcircumfix:<[ ]>(
array::shaped1#type#array \SELF, Int:D \pos, #Type#:D \assignee
Expand Down

0 comments on commit f6cdbd8

Please sign in to comment.