Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 28, 2017 02:51
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/efee7716c35d36c6f793465c2f0b6035 to your computer and use it in GitHub Desktop.
Save Whateverable/efee7716c35d36c6f793465c2f0b6035 to your computer and use it in GitHub Desktop.
committable6
my $new_type := Metamodel::ClassHOW.new_type(:name<Foo>); my $r = / . { make $new_type } /; my $m = "a" ~~ $r; note $m.ast;
¦«2015.12,2016.01.1,2016.02,2016.03,2016.04,2016.05,2016.06,2016.07.1,
2016.08.1,2016.09»:
Method 'ast' not found for invocant of class 'Bool'
in block <unit> at /tmp/aR11azfzlJ line 1
«exit code = 1»
¦«2016.10»:
No such method 'ast' for invocant of type 'Bool'
in block <unit> at /tmp/aR11azfzlJ line 1
«exit code = 1»
¦«2016.11,2016.12,2017.01,2017.02,2017.03,2017.04.3,2017.05,2017.06,
2017.07,2017.08»:
No such method 'gist' for invocant of type 'Foo'
in block <unit> at /tmp/aR11azfzlJ line 1
«exit code = 1»
¦«2017.09,2017.10,2017.11,HEAD(1668b4f)»:
Nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment