You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$spit eval 'if Foo { }'
ERROR while compiling eval: Sub 'if' hasn't been declared.
eval:0
➧if Foo { }
(Foo is a non existant symbol). When doing this in rakudo you get:
$ perl6 -e 'if Foo { }'
===SORRY!===
Function 'Foo' needs parens to avoid gobbling block (or perhaps it's a class that's not declared or available in this scope?)
at -e:1
------> if Foo { }⏏<EOL>
Missing block (apparently claimed by 'Foo')
at -e:1
------> if Foo { }⏏<EOL>
The text was updated successfully, but these errors were encountered:
(Foo is a non existant symbol). When doing this in rakudo you get:
The text was updated successfully, but these errors were encountered: