Skip to content

Commit

Permalink
[js] when we don't have an outer context use null
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Oct 6, 2015
1 parent e522c72 commit e8e9b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/js/QAST/Compiler.nqp
Expand Up @@ -2450,7 +2450,7 @@ class QAST::CompilerJS does DWIMYNameMangling does SerializeOnce {

my $setup;

my $outer_ctx := try $*CTX;
my $outer_ctx := try $*CTX // "null";

if self.is_known_cuid($node) {
$setup := [];
Expand Down

0 comments on commit e8e9b08

Please sign in to comment.