Skip to content

Commit 14d3c24

Browse files
committed
rename to nqp::closefh_i (because it returns an int)
1 parent 7a5e8a6 commit 14d3c24

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/vm/moar/QAST/QASTOperationsMAST.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ QAST::MASTOperations.add_core_op('getcfh', -> $qastcomp, $op {
19271927
});
19281928
QAST::MASTOperations.add_core_moarop_mapping('eoffh', 'eof_fh');
19291929
QAST::MASTOperations.add_core_moarop_mapping('closefh', 'close_fh', 0);
1930-
QAST::MASTOperations.add_core_moarop_mapping('closefhi', 'close_fhi');
1930+
QAST::MASTOperations.add_core_moarop_mapping('closefh_i', 'close_fhi');
19311931
QAST::MASTOperations.add_core_moarop_mapping('socket', 'socket');
19321932
QAST::MASTOperations.add_core_moarop_mapping('connect', 'connect_sk', 0);
19331933
QAST::MASTOperations.add_core_moarop_mapping('bindsock', 'bind_sk', 0);

src/vm/parrot/QAST/Operations.nqp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,9 +1854,9 @@ QAST::Operations.add_core_op('closefh', -> $qastcomp, $op {
18541854
$op[0]
18551855
))
18561856
});
1857-
QAST::Operations.add_core_op('closefhi', -> $qastcomp, $op {
1857+
QAST::Operations.add_core_op('closefh_i', -> $qastcomp, $op {
18581858
if +$op.list != 1 {
1859-
nqp::die("The 'closefhi' op expects one operand");
1859+
nqp::die("The 'closefh_i' op expects one operand");
18601860
}
18611861
$qastcomp.as_post(QAST::Stmts.new(
18621862
QAST::Op.new(:op('callmethod'), :name('close'), $op[0]),

0 commit comments

Comments
 (0)