Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created June 19, 2020 10:11
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/b0308d9c42527ed548be10fc4fe6e0ca to your computer and use it in GitHub Desktop.
Save Whateverable/b0308d9c42527ed548be10fc4fe6e0ca to your computer and use it in GitHub Desktop.
evalable6
my $R = role Mime[$t] { has $.mime = $t }; my $i = '/home/'.IO but $R.^parameterize('dir');
(exit code 1)
Type check failed in binding to parameter '<anon>'; expected Mime but got IO::Path+{Mime[Str]} (IO::Path+{Mime[Str]}.new("/home/", :SPEC(...)
in method at /tmp/eTgST3NE3c line 1
in block <unit> at /tmp/eTgST3NE3c line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment