Skip to content

Commit

Permalink
Don't compile this example
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed May 14, 2019
1 parent 05a4d69 commit ea9a370
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/Language/variables.pod6
Expand Up @@ -931,6 +931,7 @@ are bound to, which goes between the declarator and the variable name. The
default type constraint is L<Mu|/type/Mu>. You can also use the trait
L<of|/type/Variable#trait_of> to set a type constraint.
=for code :skip-test<compilation error>
my Int $x = 42;
$x = 'a string';
CATCH { default { put .^name, ': ', .Str } }
Expand Down

0 comments on commit ea9a370

Please sign in to comment.