greybel-interpreter 0.4.8 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -75,12 +75,9 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
75
75
  }
76
76
  return to.concat(ar || Array.prototype.slice.call(from));
77
77
  };
78
- var __importDefault = (this && this.__importDefault) || function (mod) {
79
- return (mod && mod.__esModule) ? mod : { "default": mod };
80
- };
81
78
  Object.defineProperty(exports, "__esModule", { value: true });
82
79
  exports.CustomListIterator = void 0;
83
- var function_1 = __importDefault(require("../operations/function"));
80
+ var operation_1 = require("../types/operation");
84
81
  var custom_type_1 = require("../types/custom-type");
85
82
  var CustomListIterator = /** @class */ (function () {
86
83
  function CustomListIterator(value) {
@@ -159,7 +156,7 @@ var CustomList = /** @class */ (function (_super) {
159
156
  if (!origin.hasOwnProperty(setterIndex)) {
160
157
  throw new Error("Index error (list index ".concat(setterIndex, " out of range)"));
161
158
  }
162
- if (value instanceof function_1.default) {
159
+ if (value instanceof operation_1.FunctionOperationBase) {
163
160
  origin[setterIndex] = value.fork(me);
164
161
  }
165
162
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "greybel-interpreter",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "description": "Interpreter",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index",