$ ./perl6 -e 'my $a of Int is default("foo")'
===SORRY!=== Error while compiling -e
Default value 'foo' will never bind to a parameter of type Any
------> my $a of Int is default("foo")^<EOL>
expecting any of:
The error message is correct that the specified default value doesn't
satisfy the type constraint, but it is incorrect in identifying the type.
The message looks nonsensical, because the value that it shows does
match the type that it states.
This fault doesn't occur if the type constraint is specified as "my