Skip to content

Commit

Permalink
let CompUnit.precomp not chocke on msgs on STDERR
Browse files Browse the repository at this point in the history
Warnings like about missing unit keyword or just using RAKUDO_MODULE_DEBUG=1
were able to let it fail.
  • Loading branch information
FROGGS committed May 17, 2015
1 parent 8eb18e8 commit a25bf49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/CompUnit.pm
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,10 @@ RAKUDO_MODULE_DEBUG("Precomping with %*ENV<RAKUDO_PRECOMP_WITH>")
$result ~= $_ for $handle.lines;
if $handle.close.status -> $status { # something wrong
$result ~= "Return status $status\n";
fail $result if $result;
}
fail $result if $result;
note $result if $result;


$!has-precomp = True if $out eq self.precomp-path;
True;
Expand Down

0 comments on commit a25bf49

Please sign in to comment.