doc
doc copied to clipboard
What is a scoped block
Problem or new feature
If you write something like this:
use experimental :macros;
macro foo() { quasi "bar" }
You get:
Missing block
at /home/jmerelo/Code/raku/my-raku-examples/scoped-block-fail.raku:2
------> macro foo() { quasi⏏ "bar" }
expecting any of:
scoped block
Suggestions
No reference to "scoped block" is found anywhere in the documentation. Try and find out what it is.
Per this line of code, a "scoped block" is, syntactically speaking, a code block (cf the type Block and code of the form { ... }).
That said, see also point 4 in my comment discussing this matter in #4080.