@scriptc/compiler 0.0.17 → 0.0.18
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.
- package/ambient/scriptc-node-fallback.d.ts +4 -4
- package/dist/backend/cc.d.ts +5 -0
- package/dist/backend/cc.js +2 -0
- package/dist/backend/cc.js.map +1 -1
- package/dist/backend/emission/emit-async.js +35 -2
- package/dist/backend/emission/emit-async.js.map +1 -1
- package/dist/backend/emission/emit-exprs.js +40 -4
- package/dist/backend/emission/emit-exprs.js.map +1 -1
- package/dist/backend/emission/emitter.js +69 -11
- package/dist/backend/emission/emitter.js.map +1 -1
- package/dist/backend/emission/may-throw.d.ts +3 -3
- package/dist/backend/emission/may-throw.js +15 -4
- package/dist/backend/emission/may-throw.js.map +1 -1
- package/dist/backend/llvm/emitter.js +199 -21
- package/dist/backend/llvm/emitter.js.map +1 -1
- package/dist/frontend/lowering/lower-builtins.js +4 -7
- package/dist/frontend/lowering/lower-builtins.js.map +1 -1
- package/dist/frontend/lowering/lower-calls.js +17 -9
- package/dist/frontend/lowering/lower-calls.js.map +1 -1
- package/dist/frontend/lowering/lower-containers.d.ts +22 -17
- package/dist/frontend/lowering/lower-containers.js +628 -51
- package/dist/frontend/lowering/lower-containers.js.map +1 -1
- package/dist/frontend/lowering/lower-exprs.js +19 -1
- package/dist/frontend/lowering/lower-exprs.js.map +1 -1
- package/dist/frontend/lowering/lower-island.js +55 -7
- package/dist/frontend/lowering/lower-island.js.map +1 -1
- package/dist/frontend/lowering/lower-modules.js +144 -10
- package/dist/frontend/lowering/lower-modules.js.map +1 -1
- package/dist/frontend/lowering/lower-stmts.d.ts +8 -0
- package/dist/frontend/lowering/lower-stmts.js +408 -21
- package/dist/frontend/lowering/lower-stmts.js.map +1 -1
- package/dist/frontend/lowering/lowerer.d.ts +38 -0
- package/dist/frontend/lowering/lowerer.js +149 -2
- package/dist/frontend/lowering/lowerer.js.map +1 -1
- package/dist/frontend/lowering/surfaces.js +4 -0
- package/dist/frontend/lowering/surfaces.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/ir/nodes.d.ts +46 -12
- package/dist/ir/nodes.js +41 -0
- package/dist/ir/nodes.js.map +1 -1
- package/dist/ir/serialize.d.ts +1 -1
- package/dist/ir/serialize.js +1 -1
- package/dist/ir/validate.js +98 -39
- package/dist/ir/validate.js.map +1 -1
- package/dist/library/int-infer.js +191 -25
- package/dist/library/int-infer.js.map +1 -1
- package/dist/library/int-infer.test.js +206 -1
- package/dist/library/int-infer.test.js.map +1 -1
- package/package.json +2 -2
- package/surface-manifest.json +25 -1
|
@@ -4907,16 +4907,13 @@ export function lowerProcessMethodCall(L, call, access) {
|
|
|
4907
4907
|
const SIGNALS = { SIGINT: 2, SIGTERM: 15 };
|
|
4908
4908
|
const signo = event !== null ? own(SIGNALS, event) : undefined;
|
|
4909
4909
|
// 'unhandledRejection': the listener crosses as a dyn function and
|
|
4910
|
-
// the
|
|
4910
|
+
// the completed-checkpoint report dispatches it (reason, promise) per
|
|
4911
4911
|
// never-observed rejection instead of printing and exiting 1
|
|
4912
|
-
// (scr_async.c
|
|
4913
|
-
// divergence). `once` auto-removes after one delivery and
|
|
4912
|
+
// (scr_async.c). `once` auto-removes after one delivery and
|
|
4914
4913
|
// `off`/`removeListener` remove by closure identity — the warning
|
|
4915
4914
|
// registry's story. 'rejectionHandled' is the sibling registry:
|
|
4916
|
-
//
|
|
4917
|
-
//
|
|
4918
|
-
// handling never enters the report at all — the same documented
|
|
4919
|
-
// divergence), dispatched synchronously with the promise.
|
|
4915
|
+
// a handler attached after delivery fires it once, synchronously
|
|
4916
|
+
// with the promise.
|
|
4920
4917
|
if (event === "unhandledRejection" || event === "rejectionHandled") {
|
|
4921
4918
|
if (!ts.isExpressionStatement(call.parent)) {
|
|
4922
4919
|
L.unsupported("SC1090", call, "chaining process listener registration (the result is void here — register each listener as its own statement)");
|