Created
December 10, 2019 03:41
-
-
Save Whateverable/f770353c2e68e868108d6d0aacf5a4dd to your computer and use it in GitHub Desktop.
evalable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A { method b (Str:D $name) { say 'Defined' }; }; my $c; A.new.b(Str) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(exit code 1) | |
Parameter '$name' of routine 'b' must be an object instance of type 'Str', not a type object of type 'Str'. Did you forget a '.new'? | |
in method b at /tmp/vgoKj8fsuP line 1 | |
in block <unit> at /tmp/vgoKj8fsuP line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment