Skip to content

Commit f280dff

Browse files
committed
[js] Expose the BOOL type when declaring ops from compiled code.
1 parent 5676e10 commit f280dff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vm/js/Operations.nqp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ class QAST::OperationsJS {
9595
method INT() { $T_INT }
9696
method STR() { $T_STR }
9797
method NUM() { $T_NUM }
98+
method BOOL() { $T_BOOL }
9899

99100
add_simple_op('setcontspec', $T_OBJ, [$T_OBJ, $T_STR, $T_OBJ], :sideffects);
100101
add_simple_op('assign', $T_OBJ, [$T_OBJ, $T_OBJ], sub ($cont, $value) {"$cont.\$\$assign({$*CTX},$value)"}, :sideffects);

0 commit comments

Comments
 (0)