Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
X::Assignment::RO thrown correctly on JVM/Parrot
  • Loading branch information
lizmat committed May 21, 2014
1 parent a5103c3 commit d96ad15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Exception.pm
Expand Up @@ -1442,7 +1442,7 @@ my class X::Caller::NotDynamic is Exception {
%c_ex{'X::TypeCheck::Return'} := sub (Mu $got, Mu $expected) is hidden_from_backtrace {
X::TypeCheck::Return.new(:$got, :$expected).throw;
};
%c_ex<X::Assignment::RO> := sub ($typename) is hidden_from_backtrace {
%c_ex<X::Assignment::RO> := sub ($typename = "value") is hidden_from_backtrace {
X::Assignment::RO.new(:$typename).throw;
};
%c_ex{'X::ControlFlow::Return'} := sub () is hidden_from_backtrace {
Expand Down

0 comments on commit d96ad15

Please sign in to comment.