Skip to content

Instantly share code, notes, and snippets.

Created April 15, 2012 18:03
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 anonymous/2394162 to your computer and use it in GitHub Desktop.
Save anonymous/2394162 to your computer and use it in GitHub Desktop.
$ perl6
> my &m := quasi {say "Hello"}
Type check failed in binding
> my $m := quasi {say "Hello"}
AST.new()
> $m.^methods
BUILD incarnate is_quasi_ast
> $m.()
Method 'postcircumfix:<( )>' not found for invocant of class 'AST'
>
too few arguments: 0 passed, 30581312 expected
$ perl6
> quasi {}.()
Method 'postcircumfix:<( )>' not found for invocant of class 'AST'
>
zsh: segmentation fault (core dumped) perl6
$ perl6
> my $m := quasi {}
$AST.new()
> $m.^methods
BUILD incarnate is_quasi_ast
> $m.()
Method 'postcircumfix:<( )>' not found for invocant of class 'AST'
>
Null PMC access in clone()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment