Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 7, 2021 22:31
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/5750c54867f1e46ba5598fb688ef9aea to your computer and use it in GitHub Desktop.
Save Whateverable/5750c54867f1e46ba5598fb688ef9aea to your computer and use it in GitHub Desktop.
evalable6
class A is rw {has uint8 $.a }; my $a = A.new; $a.a = 185;say
(exit code 1)
===SORRY!===
Argument to "say" seems to be malformed
at /tmp/RkP1CbSr0o:1
------> nt8 $.a }; my $a = A.new; $a.a = 185;say⏏<EOL>
Other potential difficulties:
Unsupported use of bare "say". In Raku please use: .say if you meant
to call it as a method on $_, or use an explicit invocant or argument,
or use &say to refer to the function as a noun.
at /tmp/RkP1CbSr0o:1
------> nt8 $.a }; my $a = A.new; $a.a = 185;say⏏<EOL>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment