Skip to content

Commit 4e973da

Browse files
committed
++.++ construct throws a multi no match exception
RT#126220
1 parent 0ec9781 commit 4e973da

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

S03-operators/autoincrement.t

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use Test;
44
# Tests for auto-increment and auto-decrement operators
55
# originally from Perl 5, by way of t/operators/auto.t
66

7-
plan 79;
7+
plan 80;
88

99
#L<S03/Autoincrement precedence>
1010

@@ -271,5 +271,9 @@ throws-like 'my $a; $a++ ++;', Exception, 'parse error for "$a++ ++"';
271271
is $x, False, "True postdecrement sets False";
272272
};
273273

274+
# RT 126220
275+
throws-like '++.++', X::Multi::NoMatch,
276+
'++.++ construct throws a multi no match exception';
277+
274278

275279
# vim: ft=perl6

0 commit comments

Comments
 (0)