- Timestamp:
- 11/06/08 19:06:37 (2 months ago)
- Files:
-
- 1 modified
-
t/spec/S06-traits/misc.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S06-traits/misc.t
r22461 r22902 17 17 # note: many of these errors can be detected at compile time, so need 18 18 # eval_dies_ok instead of dies_ok 19 #?rakudo todo 'TODO: catch modification of subroutine arg' 19 20 eval_dies_ok ' 21 my $tmp = 1; 20 22 sub mods_param ($x) { $x++; } 21 mods_param($ foo)23 mods_param($tmp) 22 24 ', 23 25 'can\'t modify parameter, constant by default';
