mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-21 05:50:55 +08:00
* perf: skip island type probes in static compilation * test: retain reached declaration checker panic diagnostics * test: make child backpressure event ordering deterministic * perf: index JavaScript binding writes once per scope * test: record preflight baseline for binding writes fixture
7 lines
308 B
TypeScript
7 lines
308 B
TypeScript
// `1e999` as a type crosses the API as +Inf, which tsgo cannot JSON-marshal
|
|
// (upstream signature 03): the collection-side panic fence defers the
|
|
// SC0004 until f() is reached, reporting the declaration and call site.
|
|
type A = 1e999;
|
|
export function f(): A { throw new Error("x"); }
|
|
export const m = f();
|