Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Avoid use of nqp::time_n() if --stable-sc was provided
  • Loading branch information
moritz committed Oct 8, 2015
1 parent a19dab8 commit c0c31bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QAST/Block.nqp
Expand Up @@ -37,7 +37,7 @@ class QAST::Block is QAST::Node does QAST::Children {
}

my $cur_cuid := 0;
my $cuid_suffix := ~nqp::time_n();
my $cuid_suffix := %*COMPILING<%?OPTIONS><stable-sc> || ~nqp::time_n();

method cuid($value = NO_VALUE) {
if !($value =:= NO_VALUE) {
Expand Down

0 comments on commit c0c31bf

Please sign in to comment.