Skip to content

Implement PPC0027: any() and all() tests #22773

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -6256,6 +6256,7 @@ t/op/aassign.t test list assign
t/op/alarm.t See if alarm works
t/op/anonconst.t See if :const works
t/op/anonsub.t See if anonymous subroutines work
t/op/any_all.t See if feature 'any' and 'all' work
t/op/append.t See if . works
t/op/args.t See if operations on @_ work
t/op/arith2.t See if arithmetic works
Expand Down
3 changes: 2 additions & 1 deletion embed.fnc
Original file line number Diff line number Diff line change
Expand Up @@ -5957,7 +5957,8 @@ S |int |intuit_method |NN char *s \
|NULLOK NOCHECK CV *cv
S |int |intuit_more |NN char *s \
|NN char *e
S |I32 |lop |I32 f \
S |I32 |lop |enum yytokentype t \
|I32 f \
|U8 x \
|NN char *s
Sr |void |missingterm |NULLOK char *s \
Expand Down
2 changes: 1 addition & 1 deletion embed.h
Original file line number Diff line number Diff line change
Expand Up @@ -1715,7 +1715,7 @@
# define incline(a,b) S_incline(aTHX_ a,b)
# define intuit_method(a,b,c) S_intuit_method(aTHX_ a,b,c)
# define intuit_more(a,b) S_intuit_more(aTHX_ a,b)
# define lop(a,b,c) S_lop(aTHX_ a,b,c)
# define lop(a,b,c,d) S_lop(aTHX_ a,b,c,d)
# define missingterm(a,b) S_missingterm(aTHX_ a,b)
# define parse_ident(a,b,c,d,e,f) S_parse_ident(aTHX_ a,b,c,d,e,f)
# define pending_ident() S_pending_ident(aTHX)
Expand Down
3 changes: 2 additions & 1 deletion ext/Opcode/Opcode.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Opcode 1.66;
package Opcode 1.67;

use strict;

Expand Down Expand Up @@ -377,6 +377,7 @@ used to implement a resource attack (e.g., consume all available CPU time).

grepstart grepwhile
mapstart mapwhile
anystart allstart anywhile
enteriter iter
enterloop leaveloop unstack
last next redo
Expand Down
3 changes: 2 additions & 1 deletion ext/Pod-Functions/t/Functions.t
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ Functions for real @ARRAYs:
each, keys, pop, push, shift, splice, unshift, values

Functions for list data:
grep, join, map, qw/STRING/, reverse, sort, unpack
all, any, grep, join, map, qw/STRING/, reverse, sort,
unpack

Functions for real %HASHes:
delete, each, exists, keys, values
Expand Down
82 changes: 59 additions & 23 deletions feature.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion gv.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,8 @@ S_maybe_add_coresub(pTHX_ HV * const stash, GV *gv,
case KEY___DATA__: case KEY___END__ :
case KEY_ADJUST : case KEY_AUTOLOAD: case KEY_BEGIN : case KEY_CHECK :
case KEY_DESTROY : case KEY_END : case KEY_INIT : case KEY_UNITCHECK:
case KEY_and : case KEY_catch : case KEY_class :
case KEY_all : case KEY_and : case KEY_any :
case KEY_catch : case KEY_class :
case KEY_continue: case KEY_cmp : case KEY_defer :
case KEY_do : case KEY_dump : case KEY_else : case KEY_elsif :
case KEY_eq : case KEY_eval : case KEY_field :
Expand Down
29 changes: 23 additions & 6 deletions keywords.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading