Skip to content
Permalink
Browse files

Fix native array generator script for p6bool -> hllbool

Apparently the generated code was changed, but not the generator :-(
  • Loading branch information...
lizmat committed Sep 15, 2018
1 parent d596031 commit f1f6825b9cd25b278a9e30dcc11fc8de0d0049eb
Showing with 4 additions and 4 deletions.
  1. +3 −3 src/core/native_array.pm6
  2. +1 −1 tools/build/makeNATIVE_ARRAY.p6
@@ -89,7 +89,7 @@ my class array does Iterable {

my role strarray[::T] does Positional[T] is array_type(T) {
#- start of generated part of strarray role -----------------------------------
#- Generated on 2018-08-28T17:41:48-04:00 by tools/build/makeNATIVE_ARRAY.p6
#- Generated on 2018-09-15T11:00:21+02:00 by tools/build/makeNATIVE_ARRAY.p6
#- PLEASE DON'T CHANGE ANYTHING BELOW THIS LINE

multi method AT-POS(strarray:D: int $idx) is raw {
@@ -572,7 +572,7 @@ my class array does Iterable {

my role intarray[::T] does Positional[T] is array_type(T) {
#- start of generated part of intarray role -----------------------------------
#- Generated on 2018-08-28T17:41:48-04:00 by tools/build/makeNATIVE_ARRAY.p6
#- Generated on 2018-09-15T11:00:21+02:00 by tools/build/makeNATIVE_ARRAY.p6
#- PLEASE DON'T CHANGE ANYTHING BELOW THIS LINE

multi method AT-POS(intarray:D: int $idx) is raw {
@@ -1107,7 +1107,7 @@ my class array does Iterable {

my role numarray[::T] does Positional[T] is array_type(T) {
#- start of generated part of numarray role -----------------------------------
#- Generated on 2018-08-28T17:41:48-04:00 by tools/build/makeNATIVE_ARRAY.p6
#- Generated on 2018-09-15T11:00:21+02:00 by tools/build/makeNATIVE_ARRAY.p6
#- PLEASE DON'T CHANGE ANYTHING BELOW THIS LINE

multi method AT-POS(numarray:D: int $idx) is raw {
@@ -428,7 +428,7 @@ for $*IN.lines -> $line {
}
multi method ACCEPTS(#type#array:D: #type#array:D \other) {
nqp::p6bool(
nqp::hllbool(
nqp::unless(
nqp::eqaddr(self,other),
nqp::if(

0 comments on commit f1f6825

Please sign in to comment.
You can’t perform that action at this time.