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 b802319 commit 17a5ff6Copy full SHA for 17a5ff6
src/vm/js/nqp-runtime/core.js
@@ -313,7 +313,7 @@ op.newtype = function(how, repr) {
313
op.can = function(obj, method) {
314
if (typeof obj !== 'object' || obj instanceof NQPInt || obj instanceof CodeRef || obj instanceof Hash || obj instanceof NQPArray) return 0;
315
if (!obj._STable.methodCache) {
316
- console.log('we have no method cache, checking: ' + method);
+ console.warn('we have no method cache, checking: ' + method);
317
return 0;
318
}
319
return obj._STable.methodCache.hasOwnProperty(method) ? 1 : 0;
0 commit comments