We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59dcb59 commit 3a732e8Copy full SHA for 3a732e8
src/vm/js/nqp-runtime/core.js
@@ -212,7 +212,7 @@ const intToObj = exports.intToObj = function(currentHLL, i) {
212
exports.int64ToObj = function(currentHLL, i) {
213
const type = currentHLL.get('int_box');
214
if (!type) {
215
- return new NQPInt(i);
+ throw new NQPException(`Can't box 64 bit integer: HLL doesn't have int_box`);
216
} else {
217
const repr = type._STable.REPR;
218
const obj = repr.allocate(type._STable);
0 commit comments