Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix type check for binding parameters
EnumHOW just needed an is_composed method like many other HOWs.
Fixes regression in t/spec/S06-signature/optional.t
  • Loading branch information
niner authored and jnthn committed Nov 21, 2015
1 parent 444b8cb commit e4af648
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Perl6/Metamodel/EnumHOW.nqp
Expand Up @@ -147,7 +147,11 @@ class Perl6::Metamodel::EnumHOW
}
$!role
}


method is_composed($obj) {
$!composed
}

method does_list($obj) {
@!does_list
}
Expand Down

0 comments on commit e4af648

Please sign in to comment.