sub go(Int $x where 1 < * < 9) { say $x; } go(3); go(0); --output:-- 3 Constraint type check failed in binding to parameter '$x'; expected anonymous constraint to be met but got Int (0) in sub go at b.raku line 4 in block at b.raku line 9