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 committed Oct 3, 2015
1 parent 31cbac7 commit fe41cd7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Perl6/Metamodel/EnumHOW.nqp
Expand Up @@ -148,7 +148,11 @@ class Perl6::Metamodel::EnumHOW
}
$!role
}


method is_composed($obj) {
$!composed
}

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

0 comments on commit fe41cd7

Please sign in to comment.