Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 30, 2018 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/d03f2111b902a4cbcd0635f10e19b5ea to your computer and use it in GitHub Desktop.
Save Whateverable/d03f2111b902a4cbcd0635f10e19b5ea to your computer and use it in GitHub Desktop.
evalable6
class C {has Str() $.a=123};C.new
(exit code 1)
===SORRY!=== Error while compiling /tmp/9UPtfsy_O0
Coercion Str(Any) is insufficiently type-like to qualify a variable
at /tmp/9UPtfsy_O0:1
------> class C {has Str() $.a⏏=123};C.new
expecting any of:
constraint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment