Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created October 20, 2019 14:58
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/6c6def919c696ea9678be2531a6f4fb0 to your computer and use it in GitHub Desktop.
Save Whateverable/6c6def919c696ea9678be2531a6f4fb0 to your computer and use it in GitHub Desktop.
bisectable6
BEGIN { my str $name = 'foo'; our $subset := Metamodel::SubsetHOW.new_type: :$name; $*W.add_object_if_no_sc: $subset }; say $subset.^name.WHAT
Output on both points: «===SORRY!=== Error while compiling /tmp/PJPUG5gSKt
An exception occurred while evaluating a BEGIN
at /tmp/PJPUG5gSKt:1
Exception details:
===SORRY!=== Error while compiling
Required named parameter 'refinee' not passed
at :
»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment