Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fudge test for RT #126585
  • Loading branch information
lizmat committed Nov 7, 2015
1 parent 73f6740 commit 4ab8381
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions S06-traits/misc.t
Expand Up @@ -42,6 +42,7 @@ throws-like 'sub mods_param_constant ($x is readonly) { $x++; };
sub mods_param_rw ($x is rw) { $x++; }
dies-ok { mods_param_rw(1) }, 'can\'t modify constant even if we claim it\'s rw';
sub mods_param_rw_enforces ($x is rw) { $x; }
#?rakudo todo "optimizer too greedy: RT #126585"
throws-like { mods_param_rw_enforces(1) },
X::Parameter::RW,
'is rw dies in signature binding if passed a literal Int';
Expand Down

0 comments on commit 4ab8381

Please sign in to comment.