Skip to content

Commit

Permalink
Make the use-case a native str
Browse files Browse the repository at this point in the history
If we get one passed from NQP land, e.g. with "BEGIN die", we can
handle it.

This is another ad-hoc fix for an apparent change in behaviour between
autogenerated BUILDALL and Mu.BUILDALL.
  • Loading branch information
lizmat committed Oct 2, 2017
1 parent 7fa707d commit d76af6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Exception.pm
Expand Up @@ -733,7 +733,7 @@ my class X::Comp::Group is Exception {
my role X::MOP is Exception { }

my class X::Comp::BeginTime does X::Comp {
has $.use-case;
has str $.use-case;
has $.exception;

method message() {
Expand Down

0 comments on commit d76af6a

Please sign in to comment.