Skip to content

Commit fe6e70f

Browse files
author
Carl Masak
committed
fix syntax of adverb in where clause
This fails after jnthn++'s work on the EXPR preclimit got things more right.
1 parent ab605d9 commit fe6e70f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/advent2012-day04.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ is-deeply @triplet-prods, [31875000], 'Pythagorean triplet products (dataflow)';
6767

6868
my %cache = 1 => 0;
6969

70-
multi factors($n where %cache{$n}:exists) { %cache{$n} }
70+
multi factors($n where { %cache{$n}:exists }) { %cache{$n} }
7171
multi factors($n) {
7272
for 2, 3, *+2 ...^ * > sqrt($n) {
7373
if $n %% $_ {

0 commit comments

Comments
 (0)