Skip to content

Commit

Permalink
Turn down constant optimization a notch, to un-regress a test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Oct 18, 2010
1 parent c025d33 commit 1b9b061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotnet/compiler/PAST2DNSTCompiler.pm
Expand Up @@ -686,7 +686,7 @@ our multi sub dnst_for(PAST::Val $val) {
DNST::Literal.new( :value($val.value), :escape($primitive eq 'str') ),
$type_dnst
);
if $*IN_LOADINIT {
if $*IN_LOADINIT || $*COMPILING_NQP_SETTING {
return $make_const;
}
else {
Expand Down

0 comments on commit 1b9b061

Please sign in to comment.