Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a leftover PAST::Op usage.
  • Loading branch information
jnthn committed Jul 21, 2012
1 parent 8fb3afe commit ed9292f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QPerl6/World.pm
Expand Up @@ -1135,7 +1135,7 @@ class QPerl6::World is HLL::World {
else {
$past := QAST::Want.new($const, 'Nn',
$value eq 'Inf' || $value eq '-Inf' || $value eq 'NaN' ??
PAST::Op.new( :pirop('set Ns'), QAST::SVal.new( :value(~$value) ) ) !!
QAST::VM.new( :pirop('set Ns'), QAST::SVal.new( :value(~$value) ) ) !!
QAST::NVal.new( :value($value) ) );
}
$past<has_compile_time_value> := 1;
Expand Down

0 comments on commit ed9292f

Please sign in to comment.