Skip to content

Commit 3257bad

Browse files
committed
Fudge for niecza.
1 parent dc9f15f commit 3257bad

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

S12-class/attributes.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ eval_dies_ok q[
116116
], 'no attr access for sub inside class';
117117

118118
# RT 74850
119+
#?niecza skip "Can't test the failure this way"
119120
{
120121
try { eval 'class A {}; class B { has A $.foo .= new }' };
121122
ok "$!" ~~ /'Cannot use .= to initialize an attribute'/, 'class attribute cannot be initialized using .=';

S12-subset/subtypes.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ ok "x" !~~ NW1, 'subset declaration without where clause rejects wrong value';
280280
}
281281

282282
# RT 72948
283+
#?niecza skip "Can't test the failure this way"
283284
{
284285
try { eval 'sub foo($x where { $x == $y }, $y) { }' };
285286
ok "$!" ~~ /'$y is not declared'/, 'subset in signature cannot use non-predeclared variable';

0 commit comments

Comments
 (0)