Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (11 sloc) 422 Bytes
=begin pod =TITLE class X::TypeCheck::Return =SUBTITLE Error due to a failed typecheck during C class X::TypeCheck::Return is X::TypeCheck { } Thrown when a return type check fails. For example sub f(--> Int) { "foo" } f(); CATCH { default { put .^name, ': ', .Str } }; # OUTPUT: «X::TypeCheck::Return: Type check failed for return value; expected Int but got Str ("foo")␤» =end pod
You can’t perform that action at this time.