From e974613563ef68e772ce31805a168003e84a21c0 Mon Sep 17 00:00:00 2001 From: Gubolin Date: Tue, 4 Nov 2014 11:15:53 +0100 Subject: don't throw an error if a list is not a List --- threads.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/threads.js b/threads.js index e225fd9..4e5a394 100644 --- a/threads.js +++ b/threads.js @@ -683,8 +683,6 @@ Process.prototype.doYield = function () { Process.prototype.checkIfList = function (maybeList) { if (!(maybeList instanceof List)) { - var error = {name: 'list error', message: 'expecting a list'}; - this.handleError(error); maybeList = new List(); } return maybeList; -- cgit v1.3.1