Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[js] Fix bug with nqp::newtype.
  • Loading branch information
pmurias committed Oct 30, 2015
1 parent 5b5faaa commit 0b74f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/js/QAST/Compiler.nqp
Expand Up @@ -468,7 +468,7 @@ class QAST::OperationsJS {
}

add_simple_op('reprname', $T_STR, [$T_OBJ]);
add_simple_op('newtype', $T_OBJ, [$T_OBJ, $T_STR]);
add_simple_op('newtype', $T_OBJ, [$T_OBJ, $T_STR], :sideffects);

add_cmp_op('cmp_i', $T_INT);
add_cmp_op('cmp_n', $T_NUM);
Expand Down

0 comments on commit 0b74f1a

Please sign in to comment.