Skip to content

Commit

Permalink
Merge pull request #1158 from dwarring/subset-isa
Browse files Browse the repository at this point in the history
add isa method to SubsetHOW
  • Loading branch information
niner committed Sep 15, 2017
2 parents f925c64 + 0704cd9 commit ac8e099
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Perl6/Metamodel/SubsetHOW.nqp
Expand Up @@ -56,6 +56,10 @@ class Perl6::Metamodel::SubsetHOW
method refinement($obj) {
$!refinement
}

method isa($obj, $type) {
$!refinee.isa($type);
}

method nominalize($obj) {
$!refinee.HOW.archetypes.nominal ??
Expand Down

0 comments on commit ac8e099

Please sign in to comment.