@nudojs/core 1.7.7 → 1.7.8
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.
|
@@ -14694,7 +14694,20 @@ function applyInstanceFields(spec, thisVal) {
|
|
|
14694
14694
|
}
|
|
14695
14695
|
function constructClass(className, thisVal, args) {
|
|
14696
14696
|
const spec = getEvalClass(className);
|
|
14697
|
-
if (!spec)
|
|
14697
|
+
if (!spec) {
|
|
14698
|
+
if (isErrorCtorName(className)) {
|
|
14699
|
+
const eb = errorBrandAbs(className, args);
|
|
14700
|
+
const instName = thisVal.shape.k === "brand" ? thisVal.shape.name : className;
|
|
14701
|
+
const inner = eb.shape.k === "brand" ? eb.shape.shape : objOf({});
|
|
14702
|
+
return abs(
|
|
14703
|
+
{ k: "brand", name: instName, shape: inner },
|
|
14704
|
+
eb.term,
|
|
14705
|
+
eb.pred,
|
|
14706
|
+
eb.conf
|
|
14707
|
+
);
|
|
14708
|
+
}
|
|
14709
|
+
return thisVal;
|
|
14710
|
+
}
|
|
14698
14711
|
if (spec.ctor) {
|
|
14699
14712
|
let tv = thisVal;
|
|
14700
14713
|
if (!spec.superName && !spec.superNull) tv = applyInstanceFields(spec, tv);
|
package/dist/exec.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
takeRefineDiagsSince,
|
|
92
92
|
throwConstraintToKinds,
|
|
93
93
|
union
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-5SAMWKI6.js";
|
|
95
95
|
import {
|
|
96
96
|
$add,
|
|
97
97
|
$arguments,
|
|
@@ -513,7 +513,7 @@ import {
|
|
|
513
513
|
v,
|
|
514
514
|
withExecPhi,
|
|
515
515
|
withVar
|
|
516
|
-
} from "./chunk-
|
|
516
|
+
} from "./chunk-YQIRU637.js";
|
|
517
517
|
|
|
518
518
|
// src/environment.ts
|
|
519
519
|
function createEnvironment(parent, bindings = /* @__PURE__ */ new Map()) {
|
package/dist/internal.js
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
stableAnalyzeKeySource,
|
|
22
22
|
stablePathKey,
|
|
23
23
|
stablePathKeyGraph
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5SAMWKI6.js";
|
|
25
25
|
import {
|
|
26
26
|
$tryDigestSoft,
|
|
27
27
|
$tryMarkSoft,
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
withEvalBudgetOverride,
|
|
170
170
|
withFnBudgetOverride,
|
|
171
171
|
wrapPromise
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-YQIRU637.js";
|
|
173
173
|
|
|
174
174
|
// src/algebra/inlay.ts
|
|
175
175
|
function listFunctions(source) {
|