Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 20, 2021 00:02
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/4cbcb7ea0109796ba966bb3e5b351bd5 to your computer and use it in GitHub Desktop.
Save Whateverable/4cbcb7ea0109796ba966bb3e5b351bd5 to your computer and use it in GitHub Desktop.
committable6
rakuast %*ENV<RAKUDO_RAKUAST> = 1; my $p = run 'raku', '-e', "use experimental :macros; macro m() { quasi { say 'a' } } m;", :out; my $o = $p.out.slurp: :close; say $o;
¦«rakuast»:
===SORRY!=== Error while compiling /tmp/KeRNeCE0iD
Use of macros is experimental; please 'use experimental :macros'
at /tmp/KeRNeCE0iD:1
------> experimental :macros; macro m() { quasi⏏ { say 'a' } } m;", :out; my $o = $p.out
«exit code = 1»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment