Skip to content
Permalink
Browse files

Assume empty compile time options when we are not running during a co…

…mpile.

Currently this only happens when compiling programs for browser use on the js backend but this
will come in handy on other backends when compiling for standalone use
  • Loading branch information...
pmurias committed Oct 31, 2018
1 parent ea69c0a commit 0e4969feae18641279d1f843865562b5570405cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Rakudo/Internals.pm6
@@ -761,7 +761,7 @@ my class Rakudo::Internals {
}

# easy access to compile options
my Mu $compiling-options := nqp::atkey(%*COMPILING, '%?OPTIONS');
my Mu $compiling-options := %*COMPILING ?? nqp::atkey(%*COMPILING, '%?OPTIONS') !! nqp::hash();

# running with --ll-exception
method LL-EXCEPTION() {

0 comments on commit 0e4969f

Please sign in to comment.
You can’t perform that action at this time.