From 2eb5d6e9829a7eaa109ec1a6ee21bcb883eccb72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralph=20K=C3=BCpper?= Date: Fri, 15 May 2026 23:17:13 +0200 Subject: [PATCH] =?UTF-8?q?tests:=20#808=20=E2=80=94=20=E2=89=A5300-module?= =?UTF-8?q?=20init-scale=20harness?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reproduces the conditions of #684 (Effect's Schema.ts ~310th-init regression) by forcing a 300-module topological-import chain and checking per-module state isolation. Each module: - Exports `VAL_NNN: number = 1000 + N` and `class Cls_NNN` with a `tag()` method returning `"Cls_NNN"`. - Imports `VAL_{N-1}` from the predecessor and references it in a top-level expression so module-init order has to walk the chain end to end (no DCE escape hatch). `index.ts` imports all 300 and asserts, for each `i`: - `typeof VAL_i === "number"` AND `VAL_i === 1000 + i` (no NaN-box tag leak across inits). - `new Cls_i().tag() === "Cls_i"` (no `class_id` smear / vtable collision after 300 distinct class registrations). On success prints a single `init-scale: OK (300 modules)` line; on failure pins the first failing probe so a regression is one grep away. `generate.py` is the source of truth — it regenerates `m000.ts ... m299.ts` and `index.ts` idempotently. Re-run with `python3 generate.py 600` to push past 300 once the current bug closes and we want a higher ceiling. Verified on v0.5.912: Perry compiles + runs the 300-module chain and prints the OK line. Node won't run this multi/ harness directly (no .ts-extension imports, by existing test-files/multi/* convention), so it's a Perry-specific smoke — same shape as the existing test_stress_cross_module under multi/. --- .../multi/test_harness_init_scale/generate.py | 128 +++ .../multi/test_harness_init_scale/index.ts | 928 ++++++++++++++++++ .../multi/test_harness_init_scale/m000.ts | 17 + .../multi/test_harness_init_scale/m001.ts | 22 + .../multi/test_harness_init_scale/m002.ts | 22 + .../multi/test_harness_init_scale/m003.ts | 22 + .../multi/test_harness_init_scale/m004.ts | 22 + .../multi/test_harness_init_scale/m005.ts | 22 + .../multi/test_harness_init_scale/m006.ts | 22 + .../multi/test_harness_init_scale/m007.ts | 22 + .../multi/test_harness_init_scale/m008.ts | 22 + .../multi/test_harness_init_scale/m009.ts | 22 + .../multi/test_harness_init_scale/m010.ts | 22 + .../multi/test_harness_init_scale/m011.ts | 22 + .../multi/test_harness_init_scale/m012.ts | 22 + .../multi/test_harness_init_scale/m013.ts | 22 + .../multi/test_harness_init_scale/m014.ts | 22 + .../multi/test_harness_init_scale/m015.ts | 22 + .../multi/test_harness_init_scale/m016.ts | 22 + .../multi/test_harness_init_scale/m017.ts | 22 + .../multi/test_harness_init_scale/m018.ts | 22 + .../multi/test_harness_init_scale/m019.ts | 22 + .../multi/test_harness_init_scale/m020.ts | 22 + .../multi/test_harness_init_scale/m021.ts | 22 + .../multi/test_harness_init_scale/m022.ts | 22 + .../multi/test_harness_init_scale/m023.ts | 22 + .../multi/test_harness_init_scale/m024.ts | 22 + .../multi/test_harness_init_scale/m025.ts | 22 + .../multi/test_harness_init_scale/m026.ts | 22 + .../multi/test_harness_init_scale/m027.ts | 22 + .../multi/test_harness_init_scale/m028.ts | 22 + .../multi/test_harness_init_scale/m029.ts | 22 + .../multi/test_harness_init_scale/m030.ts | 22 + .../multi/test_harness_init_scale/m031.ts | 22 + .../multi/test_harness_init_scale/m032.ts | 22 + .../multi/test_harness_init_scale/m033.ts | 22 + .../multi/test_harness_init_scale/m034.ts | 22 + .../multi/test_harness_init_scale/m035.ts | 22 + .../multi/test_harness_init_scale/m036.ts | 22 + .../multi/test_harness_init_scale/m037.ts | 22 + .../multi/test_harness_init_scale/m038.ts | 22 + .../multi/test_harness_init_scale/m039.ts | 22 + .../multi/test_harness_init_scale/m040.ts | 22 + .../multi/test_harness_init_scale/m041.ts | 22 + .../multi/test_harness_init_scale/m042.ts | 22 + .../multi/test_harness_init_scale/m043.ts | 22 + .../multi/test_harness_init_scale/m044.ts | 22 + .../multi/test_harness_init_scale/m045.ts | 22 + .../multi/test_harness_init_scale/m046.ts | 22 + .../multi/test_harness_init_scale/m047.ts | 22 + .../multi/test_harness_init_scale/m048.ts | 22 + .../multi/test_harness_init_scale/m049.ts | 22 + .../multi/test_harness_init_scale/m050.ts | 22 + .../multi/test_harness_init_scale/m051.ts | 22 + .../multi/test_harness_init_scale/m052.ts | 22 + .../multi/test_harness_init_scale/m053.ts | 22 + .../multi/test_harness_init_scale/m054.ts | 22 + .../multi/test_harness_init_scale/m055.ts | 22 + .../multi/test_harness_init_scale/m056.ts | 22 + .../multi/test_harness_init_scale/m057.ts | 22 + .../multi/test_harness_init_scale/m058.ts | 22 + .../multi/test_harness_init_scale/m059.ts | 22 + .../multi/test_harness_init_scale/m060.ts | 22 + .../multi/test_harness_init_scale/m061.ts | 22 + .../multi/test_harness_init_scale/m062.ts | 22 + .../multi/test_harness_init_scale/m063.ts | 22 + .../multi/test_harness_init_scale/m064.ts | 22 + .../multi/test_harness_init_scale/m065.ts | 22 + .../multi/test_harness_init_scale/m066.ts | 22 + .../multi/test_harness_init_scale/m067.ts | 22 + .../multi/test_harness_init_scale/m068.ts | 22 + .../multi/test_harness_init_scale/m069.ts | 22 + .../multi/test_harness_init_scale/m070.ts | 22 + .../multi/test_harness_init_scale/m071.ts | 22 + .../multi/test_harness_init_scale/m072.ts | 22 + .../multi/test_harness_init_scale/m073.ts | 22 + .../multi/test_harness_init_scale/m074.ts | 22 + .../multi/test_harness_init_scale/m075.ts | 22 + .../multi/test_harness_init_scale/m076.ts | 22 + .../multi/test_harness_init_scale/m077.ts | 22 + .../multi/test_harness_init_scale/m078.ts | 22 + .../multi/test_harness_init_scale/m079.ts | 22 + .../multi/test_harness_init_scale/m080.ts | 22 + .../multi/test_harness_init_scale/m081.ts | 22 + .../multi/test_harness_init_scale/m082.ts | 22 + .../multi/test_harness_init_scale/m083.ts | 22 + .../multi/test_harness_init_scale/m084.ts | 22 + .../multi/test_harness_init_scale/m085.ts | 22 + .../multi/test_harness_init_scale/m086.ts | 22 + .../multi/test_harness_init_scale/m087.ts | 22 + .../multi/test_harness_init_scale/m088.ts | 22 + .../multi/test_harness_init_scale/m089.ts | 22 + .../multi/test_harness_init_scale/m090.ts | 22 + .../multi/test_harness_init_scale/m091.ts | 22 + .../multi/test_harness_init_scale/m092.ts | 22 + .../multi/test_harness_init_scale/m093.ts | 22 + .../multi/test_harness_init_scale/m094.ts | 22 + .../multi/test_harness_init_scale/m095.ts | 22 + .../multi/test_harness_init_scale/m096.ts | 22 + .../multi/test_harness_init_scale/m097.ts | 22 + .../multi/test_harness_init_scale/m098.ts | 22 + .../multi/test_harness_init_scale/m099.ts | 22 + .../multi/test_harness_init_scale/m100.ts | 22 + .../multi/test_harness_init_scale/m101.ts | 22 + .../multi/test_harness_init_scale/m102.ts | 22 + .../multi/test_harness_init_scale/m103.ts | 22 + .../multi/test_harness_init_scale/m104.ts | 22 + .../multi/test_harness_init_scale/m105.ts | 22 + .../multi/test_harness_init_scale/m106.ts | 22 + .../multi/test_harness_init_scale/m107.ts | 22 + .../multi/test_harness_init_scale/m108.ts | 22 + .../multi/test_harness_init_scale/m109.ts | 22 + .../multi/test_harness_init_scale/m110.ts | 22 + .../multi/test_harness_init_scale/m111.ts | 22 + .../multi/test_harness_init_scale/m112.ts | 22 + .../multi/test_harness_init_scale/m113.ts | 22 + .../multi/test_harness_init_scale/m114.ts | 22 + .../multi/test_harness_init_scale/m115.ts | 22 + .../multi/test_harness_init_scale/m116.ts | 22 + .../multi/test_harness_init_scale/m117.ts | 22 + .../multi/test_harness_init_scale/m118.ts | 22 + .../multi/test_harness_init_scale/m119.ts | 22 + .../multi/test_harness_init_scale/m120.ts | 22 + .../multi/test_harness_init_scale/m121.ts | 22 + .../multi/test_harness_init_scale/m122.ts | 22 + .../multi/test_harness_init_scale/m123.ts | 22 + .../multi/test_harness_init_scale/m124.ts | 22 + .../multi/test_harness_init_scale/m125.ts | 22 + .../multi/test_harness_init_scale/m126.ts | 22 + .../multi/test_harness_init_scale/m127.ts | 22 + .../multi/test_harness_init_scale/m128.ts | 22 + .../multi/test_harness_init_scale/m129.ts | 22 + .../multi/test_harness_init_scale/m130.ts | 22 + .../multi/test_harness_init_scale/m131.ts | 22 + .../multi/test_harness_init_scale/m132.ts | 22 + .../multi/test_harness_init_scale/m133.ts | 22 + .../multi/test_harness_init_scale/m134.ts | 22 + .../multi/test_harness_init_scale/m135.ts | 22 + .../multi/test_harness_init_scale/m136.ts | 22 + .../multi/test_harness_init_scale/m137.ts | 22 + .../multi/test_harness_init_scale/m138.ts | 22 + .../multi/test_harness_init_scale/m139.ts | 22 + .../multi/test_harness_init_scale/m140.ts | 22 + .../multi/test_harness_init_scale/m141.ts | 22 + .../multi/test_harness_init_scale/m142.ts | 22 + .../multi/test_harness_init_scale/m143.ts | 22 + .../multi/test_harness_init_scale/m144.ts | 22 + .../multi/test_harness_init_scale/m145.ts | 22 + .../multi/test_harness_init_scale/m146.ts | 22 + .../multi/test_harness_init_scale/m147.ts | 22 + .../multi/test_harness_init_scale/m148.ts | 22 + .../multi/test_harness_init_scale/m149.ts | 22 + .../multi/test_harness_init_scale/m150.ts | 22 + .../multi/test_harness_init_scale/m151.ts | 22 + .../multi/test_harness_init_scale/m152.ts | 22 + .../multi/test_harness_init_scale/m153.ts | 22 + .../multi/test_harness_init_scale/m154.ts | 22 + .../multi/test_harness_init_scale/m155.ts | 22 + .../multi/test_harness_init_scale/m156.ts | 22 + .../multi/test_harness_init_scale/m157.ts | 22 + .../multi/test_harness_init_scale/m158.ts | 22 + .../multi/test_harness_init_scale/m159.ts | 22 + .../multi/test_harness_init_scale/m160.ts | 22 + .../multi/test_harness_init_scale/m161.ts | 22 + .../multi/test_harness_init_scale/m162.ts | 22 + .../multi/test_harness_init_scale/m163.ts | 22 + .../multi/test_harness_init_scale/m164.ts | 22 + .../multi/test_harness_init_scale/m165.ts | 22 + .../multi/test_harness_init_scale/m166.ts | 22 + .../multi/test_harness_init_scale/m167.ts | 22 + .../multi/test_harness_init_scale/m168.ts | 22 + .../multi/test_harness_init_scale/m169.ts | 22 + .../multi/test_harness_init_scale/m170.ts | 22 + .../multi/test_harness_init_scale/m171.ts | 22 + .../multi/test_harness_init_scale/m172.ts | 22 + .../multi/test_harness_init_scale/m173.ts | 22 + .../multi/test_harness_init_scale/m174.ts | 22 + .../multi/test_harness_init_scale/m175.ts | 22 + .../multi/test_harness_init_scale/m176.ts | 22 + .../multi/test_harness_init_scale/m177.ts | 22 + .../multi/test_harness_init_scale/m178.ts | 22 + .../multi/test_harness_init_scale/m179.ts | 22 + .../multi/test_harness_init_scale/m180.ts | 22 + .../multi/test_harness_init_scale/m181.ts | 22 + .../multi/test_harness_init_scale/m182.ts | 22 + .../multi/test_harness_init_scale/m183.ts | 22 + .../multi/test_harness_init_scale/m184.ts | 22 + .../multi/test_harness_init_scale/m185.ts | 22 + .../multi/test_harness_init_scale/m186.ts | 22 + .../multi/test_harness_init_scale/m187.ts | 22 + .../multi/test_harness_init_scale/m188.ts | 22 + .../multi/test_harness_init_scale/m189.ts | 22 + .../multi/test_harness_init_scale/m190.ts | 22 + .../multi/test_harness_init_scale/m191.ts | 22 + .../multi/test_harness_init_scale/m192.ts | 22 + .../multi/test_harness_init_scale/m193.ts | 22 + .../multi/test_harness_init_scale/m194.ts | 22 + .../multi/test_harness_init_scale/m195.ts | 22 + .../multi/test_harness_init_scale/m196.ts | 22 + .../multi/test_harness_init_scale/m197.ts | 22 + .../multi/test_harness_init_scale/m198.ts | 22 + .../multi/test_harness_init_scale/m199.ts | 22 + .../multi/test_harness_init_scale/m200.ts | 22 + .../multi/test_harness_init_scale/m201.ts | 22 + .../multi/test_harness_init_scale/m202.ts | 22 + .../multi/test_harness_init_scale/m203.ts | 22 + .../multi/test_harness_init_scale/m204.ts | 22 + .../multi/test_harness_init_scale/m205.ts | 22 + .../multi/test_harness_init_scale/m206.ts | 22 + .../multi/test_harness_init_scale/m207.ts | 22 + .../multi/test_harness_init_scale/m208.ts | 22 + .../multi/test_harness_init_scale/m209.ts | 22 + .../multi/test_harness_init_scale/m210.ts | 22 + .../multi/test_harness_init_scale/m211.ts | 22 + .../multi/test_harness_init_scale/m212.ts | 22 + .../multi/test_harness_init_scale/m213.ts | 22 + .../multi/test_harness_init_scale/m214.ts | 22 + .../multi/test_harness_init_scale/m215.ts | 22 + .../multi/test_harness_init_scale/m216.ts | 22 + .../multi/test_harness_init_scale/m217.ts | 22 + .../multi/test_harness_init_scale/m218.ts | 22 + .../multi/test_harness_init_scale/m219.ts | 22 + .../multi/test_harness_init_scale/m220.ts | 22 + .../multi/test_harness_init_scale/m221.ts | 22 + .../multi/test_harness_init_scale/m222.ts | 22 + .../multi/test_harness_init_scale/m223.ts | 22 + .../multi/test_harness_init_scale/m224.ts | 22 + .../multi/test_harness_init_scale/m225.ts | 22 + .../multi/test_harness_init_scale/m226.ts | 22 + .../multi/test_harness_init_scale/m227.ts | 22 + .../multi/test_harness_init_scale/m228.ts | 22 + .../multi/test_harness_init_scale/m229.ts | 22 + .../multi/test_harness_init_scale/m230.ts | 22 + .../multi/test_harness_init_scale/m231.ts | 22 + .../multi/test_harness_init_scale/m232.ts | 22 + .../multi/test_harness_init_scale/m233.ts | 22 + .../multi/test_harness_init_scale/m234.ts | 22 + .../multi/test_harness_init_scale/m235.ts | 22 + .../multi/test_harness_init_scale/m236.ts | 22 + .../multi/test_harness_init_scale/m237.ts | 22 + .../multi/test_harness_init_scale/m238.ts | 22 + .../multi/test_harness_init_scale/m239.ts | 22 + .../multi/test_harness_init_scale/m240.ts | 22 + .../multi/test_harness_init_scale/m241.ts | 22 + .../multi/test_harness_init_scale/m242.ts | 22 + .../multi/test_harness_init_scale/m243.ts | 22 + .../multi/test_harness_init_scale/m244.ts | 22 + .../multi/test_harness_init_scale/m245.ts | 22 + .../multi/test_harness_init_scale/m246.ts | 22 + .../multi/test_harness_init_scale/m247.ts | 22 + .../multi/test_harness_init_scale/m248.ts | 22 + .../multi/test_harness_init_scale/m249.ts | 22 + .../multi/test_harness_init_scale/m250.ts | 22 + .../multi/test_harness_init_scale/m251.ts | 22 + .../multi/test_harness_init_scale/m252.ts | 22 + .../multi/test_harness_init_scale/m253.ts | 22 + .../multi/test_harness_init_scale/m254.ts | 22 + .../multi/test_harness_init_scale/m255.ts | 22 + .../multi/test_harness_init_scale/m256.ts | 22 + .../multi/test_harness_init_scale/m257.ts | 22 + .../multi/test_harness_init_scale/m258.ts | 22 + .../multi/test_harness_init_scale/m259.ts | 22 + .../multi/test_harness_init_scale/m260.ts | 22 + .../multi/test_harness_init_scale/m261.ts | 22 + .../multi/test_harness_init_scale/m262.ts | 22 + .../multi/test_harness_init_scale/m263.ts | 22 + .../multi/test_harness_init_scale/m264.ts | 22 + .../multi/test_harness_init_scale/m265.ts | 22 + .../multi/test_harness_init_scale/m266.ts | 22 + .../multi/test_harness_init_scale/m267.ts | 22 + .../multi/test_harness_init_scale/m268.ts | 22 + .../multi/test_harness_init_scale/m269.ts | 22 + .../multi/test_harness_init_scale/m270.ts | 22 + .../multi/test_harness_init_scale/m271.ts | 22 + .../multi/test_harness_init_scale/m272.ts | 22 + .../multi/test_harness_init_scale/m273.ts | 22 + .../multi/test_harness_init_scale/m274.ts | 22 + .../multi/test_harness_init_scale/m275.ts | 22 + .../multi/test_harness_init_scale/m276.ts | 22 + .../multi/test_harness_init_scale/m277.ts | 22 + .../multi/test_harness_init_scale/m278.ts | 22 + .../multi/test_harness_init_scale/m279.ts | 22 + .../multi/test_harness_init_scale/m280.ts | 22 + .../multi/test_harness_init_scale/m281.ts | 22 + .../multi/test_harness_init_scale/m282.ts | 22 + .../multi/test_harness_init_scale/m283.ts | 22 + .../multi/test_harness_init_scale/m284.ts | 22 + .../multi/test_harness_init_scale/m285.ts | 22 + .../multi/test_harness_init_scale/m286.ts | 22 + .../multi/test_harness_init_scale/m287.ts | 22 + .../multi/test_harness_init_scale/m288.ts | 22 + .../multi/test_harness_init_scale/m289.ts | 22 + .../multi/test_harness_init_scale/m290.ts | 22 + .../multi/test_harness_init_scale/m291.ts | 22 + .../multi/test_harness_init_scale/m292.ts | 22 + .../multi/test_harness_init_scale/m293.ts | 22 + .../multi/test_harness_init_scale/m294.ts | 22 + .../multi/test_harness_init_scale/m295.ts | 22 + .../multi/test_harness_init_scale/m296.ts | 22 + .../multi/test_harness_init_scale/m297.ts | 22 + .../multi/test_harness_init_scale/m298.ts | 22 + .../multi/test_harness_init_scale/m299.ts | 22 + 302 files changed, 7651 insertions(+) create mode 100644 test-files/multi/test_harness_init_scale/generate.py create mode 100644 test-files/multi/test_harness_init_scale/index.ts create mode 100644 test-files/multi/test_harness_init_scale/m000.ts create mode 100644 test-files/multi/test_harness_init_scale/m001.ts create mode 100644 test-files/multi/test_harness_init_scale/m002.ts create mode 100644 test-files/multi/test_harness_init_scale/m003.ts create mode 100644 test-files/multi/test_harness_init_scale/m004.ts create mode 100644 test-files/multi/test_harness_init_scale/m005.ts create mode 100644 test-files/multi/test_harness_init_scale/m006.ts create mode 100644 test-files/multi/test_harness_init_scale/m007.ts create mode 100644 test-files/multi/test_harness_init_scale/m008.ts create mode 100644 test-files/multi/test_harness_init_scale/m009.ts create mode 100644 test-files/multi/test_harness_init_scale/m010.ts create mode 100644 test-files/multi/test_harness_init_scale/m011.ts create mode 100644 test-files/multi/test_harness_init_scale/m012.ts create mode 100644 test-files/multi/test_harness_init_scale/m013.ts create mode 100644 test-files/multi/test_harness_init_scale/m014.ts create mode 100644 test-files/multi/test_harness_init_scale/m015.ts create mode 100644 test-files/multi/test_harness_init_scale/m016.ts create mode 100644 test-files/multi/test_harness_init_scale/m017.ts create mode 100644 test-files/multi/test_harness_init_scale/m018.ts create mode 100644 test-files/multi/test_harness_init_scale/m019.ts create mode 100644 test-files/multi/test_harness_init_scale/m020.ts create mode 100644 test-files/multi/test_harness_init_scale/m021.ts create mode 100644 test-files/multi/test_harness_init_scale/m022.ts create mode 100644 test-files/multi/test_harness_init_scale/m023.ts create mode 100644 test-files/multi/test_harness_init_scale/m024.ts create mode 100644 test-files/multi/test_harness_init_scale/m025.ts create mode 100644 test-files/multi/test_harness_init_scale/m026.ts create mode 100644 test-files/multi/test_harness_init_scale/m027.ts create mode 100644 test-files/multi/test_harness_init_scale/m028.ts create mode 100644 test-files/multi/test_harness_init_scale/m029.ts create mode 100644 test-files/multi/test_harness_init_scale/m030.ts create mode 100644 test-files/multi/test_harness_init_scale/m031.ts create mode 100644 test-files/multi/test_harness_init_scale/m032.ts create mode 100644 test-files/multi/test_harness_init_scale/m033.ts create mode 100644 test-files/multi/test_harness_init_scale/m034.ts create mode 100644 test-files/multi/test_harness_init_scale/m035.ts create mode 100644 test-files/multi/test_harness_init_scale/m036.ts create mode 100644 test-files/multi/test_harness_init_scale/m037.ts create mode 100644 test-files/multi/test_harness_init_scale/m038.ts create mode 100644 test-files/multi/test_harness_init_scale/m039.ts create mode 100644 test-files/multi/test_harness_init_scale/m040.ts create mode 100644 test-files/multi/test_harness_init_scale/m041.ts create mode 100644 test-files/multi/test_harness_init_scale/m042.ts create mode 100644 test-files/multi/test_harness_init_scale/m043.ts create mode 100644 test-files/multi/test_harness_init_scale/m044.ts create mode 100644 test-files/multi/test_harness_init_scale/m045.ts create mode 100644 test-files/multi/test_harness_init_scale/m046.ts create mode 100644 test-files/multi/test_harness_init_scale/m047.ts create mode 100644 test-files/multi/test_harness_init_scale/m048.ts create mode 100644 test-files/multi/test_harness_init_scale/m049.ts create mode 100644 test-files/multi/test_harness_init_scale/m050.ts create mode 100644 test-files/multi/test_harness_init_scale/m051.ts create mode 100644 test-files/multi/test_harness_init_scale/m052.ts create mode 100644 test-files/multi/test_harness_init_scale/m053.ts create mode 100644 test-files/multi/test_harness_init_scale/m054.ts create mode 100644 test-files/multi/test_harness_init_scale/m055.ts create mode 100644 test-files/multi/test_harness_init_scale/m056.ts create mode 100644 test-files/multi/test_harness_init_scale/m057.ts create mode 100644 test-files/multi/test_harness_init_scale/m058.ts create mode 100644 test-files/multi/test_harness_init_scale/m059.ts create mode 100644 test-files/multi/test_harness_init_scale/m060.ts create mode 100644 test-files/multi/test_harness_init_scale/m061.ts create mode 100644 test-files/multi/test_harness_init_scale/m062.ts create mode 100644 test-files/multi/test_harness_init_scale/m063.ts create mode 100644 test-files/multi/test_harness_init_scale/m064.ts create mode 100644 test-files/multi/test_harness_init_scale/m065.ts create mode 100644 test-files/multi/test_harness_init_scale/m066.ts create mode 100644 test-files/multi/test_harness_init_scale/m067.ts create mode 100644 test-files/multi/test_harness_init_scale/m068.ts create mode 100644 test-files/multi/test_harness_init_scale/m069.ts create mode 100644 test-files/multi/test_harness_init_scale/m070.ts create mode 100644 test-files/multi/test_harness_init_scale/m071.ts create mode 100644 test-files/multi/test_harness_init_scale/m072.ts create mode 100644 test-files/multi/test_harness_init_scale/m073.ts create mode 100644 test-files/multi/test_harness_init_scale/m074.ts create mode 100644 test-files/multi/test_harness_init_scale/m075.ts create mode 100644 test-files/multi/test_harness_init_scale/m076.ts create mode 100644 test-files/multi/test_harness_init_scale/m077.ts create mode 100644 test-files/multi/test_harness_init_scale/m078.ts create mode 100644 test-files/multi/test_harness_init_scale/m079.ts create mode 100644 test-files/multi/test_harness_init_scale/m080.ts create mode 100644 test-files/multi/test_harness_init_scale/m081.ts create mode 100644 test-files/multi/test_harness_init_scale/m082.ts create mode 100644 test-files/multi/test_harness_init_scale/m083.ts create mode 100644 test-files/multi/test_harness_init_scale/m084.ts create mode 100644 test-files/multi/test_harness_init_scale/m085.ts create mode 100644 test-files/multi/test_harness_init_scale/m086.ts create mode 100644 test-files/multi/test_harness_init_scale/m087.ts create mode 100644 test-files/multi/test_harness_init_scale/m088.ts create mode 100644 test-files/multi/test_harness_init_scale/m089.ts create mode 100644 test-files/multi/test_harness_init_scale/m090.ts create mode 100644 test-files/multi/test_harness_init_scale/m091.ts create mode 100644 test-files/multi/test_harness_init_scale/m092.ts create mode 100644 test-files/multi/test_harness_init_scale/m093.ts create mode 100644 test-files/multi/test_harness_init_scale/m094.ts create mode 100644 test-files/multi/test_harness_init_scale/m095.ts create mode 100644 test-files/multi/test_harness_init_scale/m096.ts create mode 100644 test-files/multi/test_harness_init_scale/m097.ts create mode 100644 test-files/multi/test_harness_init_scale/m098.ts create mode 100644 test-files/multi/test_harness_init_scale/m099.ts create mode 100644 test-files/multi/test_harness_init_scale/m100.ts create mode 100644 test-files/multi/test_harness_init_scale/m101.ts create mode 100644 test-files/multi/test_harness_init_scale/m102.ts create mode 100644 test-files/multi/test_harness_init_scale/m103.ts create mode 100644 test-files/multi/test_harness_init_scale/m104.ts create mode 100644 test-files/multi/test_harness_init_scale/m105.ts create mode 100644 test-files/multi/test_harness_init_scale/m106.ts create mode 100644 test-files/multi/test_harness_init_scale/m107.ts create mode 100644 test-files/multi/test_harness_init_scale/m108.ts create mode 100644 test-files/multi/test_harness_init_scale/m109.ts create mode 100644 test-files/multi/test_harness_init_scale/m110.ts create mode 100644 test-files/multi/test_harness_init_scale/m111.ts create mode 100644 test-files/multi/test_harness_init_scale/m112.ts create mode 100644 test-files/multi/test_harness_init_scale/m113.ts create mode 100644 test-files/multi/test_harness_init_scale/m114.ts create mode 100644 test-files/multi/test_harness_init_scale/m115.ts create mode 100644 test-files/multi/test_harness_init_scale/m116.ts create mode 100644 test-files/multi/test_harness_init_scale/m117.ts create mode 100644 test-files/multi/test_harness_init_scale/m118.ts create mode 100644 test-files/multi/test_harness_init_scale/m119.ts create mode 100644 test-files/multi/test_harness_init_scale/m120.ts create mode 100644 test-files/multi/test_harness_init_scale/m121.ts create mode 100644 test-files/multi/test_harness_init_scale/m122.ts create mode 100644 test-files/multi/test_harness_init_scale/m123.ts create mode 100644 test-files/multi/test_harness_init_scale/m124.ts create mode 100644 test-files/multi/test_harness_init_scale/m125.ts create mode 100644 test-files/multi/test_harness_init_scale/m126.ts create mode 100644 test-files/multi/test_harness_init_scale/m127.ts create mode 100644 test-files/multi/test_harness_init_scale/m128.ts create mode 100644 test-files/multi/test_harness_init_scale/m129.ts create mode 100644 test-files/multi/test_harness_init_scale/m130.ts create mode 100644 test-files/multi/test_harness_init_scale/m131.ts create mode 100644 test-files/multi/test_harness_init_scale/m132.ts create mode 100644 test-files/multi/test_harness_init_scale/m133.ts create mode 100644 test-files/multi/test_harness_init_scale/m134.ts create mode 100644 test-files/multi/test_harness_init_scale/m135.ts create mode 100644 test-files/multi/test_harness_init_scale/m136.ts create mode 100644 test-files/multi/test_harness_init_scale/m137.ts create mode 100644 test-files/multi/test_harness_init_scale/m138.ts create mode 100644 test-files/multi/test_harness_init_scale/m139.ts create mode 100644 test-files/multi/test_harness_init_scale/m140.ts create mode 100644 test-files/multi/test_harness_init_scale/m141.ts create mode 100644 test-files/multi/test_harness_init_scale/m142.ts create mode 100644 test-files/multi/test_harness_init_scale/m143.ts create mode 100644 test-files/multi/test_harness_init_scale/m144.ts create mode 100644 test-files/multi/test_harness_init_scale/m145.ts create mode 100644 test-files/multi/test_harness_init_scale/m146.ts create mode 100644 test-files/multi/test_harness_init_scale/m147.ts create mode 100644 test-files/multi/test_harness_init_scale/m148.ts create mode 100644 test-files/multi/test_harness_init_scale/m149.ts create mode 100644 test-files/multi/test_harness_init_scale/m150.ts create mode 100644 test-files/multi/test_harness_init_scale/m151.ts create mode 100644 test-files/multi/test_harness_init_scale/m152.ts create mode 100644 test-files/multi/test_harness_init_scale/m153.ts create mode 100644 test-files/multi/test_harness_init_scale/m154.ts create mode 100644 test-files/multi/test_harness_init_scale/m155.ts create mode 100644 test-files/multi/test_harness_init_scale/m156.ts create mode 100644 test-files/multi/test_harness_init_scale/m157.ts create mode 100644 test-files/multi/test_harness_init_scale/m158.ts create mode 100644 test-files/multi/test_harness_init_scale/m159.ts create mode 100644 test-files/multi/test_harness_init_scale/m160.ts create mode 100644 test-files/multi/test_harness_init_scale/m161.ts create mode 100644 test-files/multi/test_harness_init_scale/m162.ts create mode 100644 test-files/multi/test_harness_init_scale/m163.ts create mode 100644 test-files/multi/test_harness_init_scale/m164.ts create mode 100644 test-files/multi/test_harness_init_scale/m165.ts create mode 100644 test-files/multi/test_harness_init_scale/m166.ts create mode 100644 test-files/multi/test_harness_init_scale/m167.ts create mode 100644 test-files/multi/test_harness_init_scale/m168.ts create mode 100644 test-files/multi/test_harness_init_scale/m169.ts create mode 100644 test-files/multi/test_harness_init_scale/m170.ts create mode 100644 test-files/multi/test_harness_init_scale/m171.ts create mode 100644 test-files/multi/test_harness_init_scale/m172.ts create mode 100644 test-files/multi/test_harness_init_scale/m173.ts create mode 100644 test-files/multi/test_harness_init_scale/m174.ts create mode 100644 test-files/multi/test_harness_init_scale/m175.ts create mode 100644 test-files/multi/test_harness_init_scale/m176.ts create mode 100644 test-files/multi/test_harness_init_scale/m177.ts create mode 100644 test-files/multi/test_harness_init_scale/m178.ts create mode 100644 test-files/multi/test_harness_init_scale/m179.ts create mode 100644 test-files/multi/test_harness_init_scale/m180.ts create mode 100644 test-files/multi/test_harness_init_scale/m181.ts create mode 100644 test-files/multi/test_harness_init_scale/m182.ts create mode 100644 test-files/multi/test_harness_init_scale/m183.ts create mode 100644 test-files/multi/test_harness_init_scale/m184.ts create mode 100644 test-files/multi/test_harness_init_scale/m185.ts create mode 100644 test-files/multi/test_harness_init_scale/m186.ts create mode 100644 test-files/multi/test_harness_init_scale/m187.ts create mode 100644 test-files/multi/test_harness_init_scale/m188.ts create mode 100644 test-files/multi/test_harness_init_scale/m189.ts create mode 100644 test-files/multi/test_harness_init_scale/m190.ts create mode 100644 test-files/multi/test_harness_init_scale/m191.ts create mode 100644 test-files/multi/test_harness_init_scale/m192.ts create mode 100644 test-files/multi/test_harness_init_scale/m193.ts create mode 100644 test-files/multi/test_harness_init_scale/m194.ts create mode 100644 test-files/multi/test_harness_init_scale/m195.ts create mode 100644 test-files/multi/test_harness_init_scale/m196.ts create mode 100644 test-files/multi/test_harness_init_scale/m197.ts create mode 100644 test-files/multi/test_harness_init_scale/m198.ts create mode 100644 test-files/multi/test_harness_init_scale/m199.ts create mode 100644 test-files/multi/test_harness_init_scale/m200.ts create mode 100644 test-files/multi/test_harness_init_scale/m201.ts create mode 100644 test-files/multi/test_harness_init_scale/m202.ts create mode 100644 test-files/multi/test_harness_init_scale/m203.ts create mode 100644 test-files/multi/test_harness_init_scale/m204.ts create mode 100644 test-files/multi/test_harness_init_scale/m205.ts create mode 100644 test-files/multi/test_harness_init_scale/m206.ts create mode 100644 test-files/multi/test_harness_init_scale/m207.ts create mode 100644 test-files/multi/test_harness_init_scale/m208.ts create mode 100644 test-files/multi/test_harness_init_scale/m209.ts create mode 100644 test-files/multi/test_harness_init_scale/m210.ts create mode 100644 test-files/multi/test_harness_init_scale/m211.ts create mode 100644 test-files/multi/test_harness_init_scale/m212.ts create mode 100644 test-files/multi/test_harness_init_scale/m213.ts create mode 100644 test-files/multi/test_harness_init_scale/m214.ts create mode 100644 test-files/multi/test_harness_init_scale/m215.ts create mode 100644 test-files/multi/test_harness_init_scale/m216.ts create mode 100644 test-files/multi/test_harness_init_scale/m217.ts create mode 100644 test-files/multi/test_harness_init_scale/m218.ts create mode 100644 test-files/multi/test_harness_init_scale/m219.ts create mode 100644 test-files/multi/test_harness_init_scale/m220.ts create mode 100644 test-files/multi/test_harness_init_scale/m221.ts create mode 100644 test-files/multi/test_harness_init_scale/m222.ts create mode 100644 test-files/multi/test_harness_init_scale/m223.ts create mode 100644 test-files/multi/test_harness_init_scale/m224.ts create mode 100644 test-files/multi/test_harness_init_scale/m225.ts create mode 100644 test-files/multi/test_harness_init_scale/m226.ts create mode 100644 test-files/multi/test_harness_init_scale/m227.ts create mode 100644 test-files/multi/test_harness_init_scale/m228.ts create mode 100644 test-files/multi/test_harness_init_scale/m229.ts create mode 100644 test-files/multi/test_harness_init_scale/m230.ts create mode 100644 test-files/multi/test_harness_init_scale/m231.ts create mode 100644 test-files/multi/test_harness_init_scale/m232.ts create mode 100644 test-files/multi/test_harness_init_scale/m233.ts create mode 100644 test-files/multi/test_harness_init_scale/m234.ts create mode 100644 test-files/multi/test_harness_init_scale/m235.ts create mode 100644 test-files/multi/test_harness_init_scale/m236.ts create mode 100644 test-files/multi/test_harness_init_scale/m237.ts create mode 100644 test-files/multi/test_harness_init_scale/m238.ts create mode 100644 test-files/multi/test_harness_init_scale/m239.ts create mode 100644 test-files/multi/test_harness_init_scale/m240.ts create mode 100644 test-files/multi/test_harness_init_scale/m241.ts create mode 100644 test-files/multi/test_harness_init_scale/m242.ts create mode 100644 test-files/multi/test_harness_init_scale/m243.ts create mode 100644 test-files/multi/test_harness_init_scale/m244.ts create mode 100644 test-files/multi/test_harness_init_scale/m245.ts create mode 100644 test-files/multi/test_harness_init_scale/m246.ts create mode 100644 test-files/multi/test_harness_init_scale/m247.ts create mode 100644 test-files/multi/test_harness_init_scale/m248.ts create mode 100644 test-files/multi/test_harness_init_scale/m249.ts create mode 100644 test-files/multi/test_harness_init_scale/m250.ts create mode 100644 test-files/multi/test_harness_init_scale/m251.ts create mode 100644 test-files/multi/test_harness_init_scale/m252.ts create mode 100644 test-files/multi/test_harness_init_scale/m253.ts create mode 100644 test-files/multi/test_harness_init_scale/m254.ts create mode 100644 test-files/multi/test_harness_init_scale/m255.ts create mode 100644 test-files/multi/test_harness_init_scale/m256.ts create mode 100644 test-files/multi/test_harness_init_scale/m257.ts create mode 100644 test-files/multi/test_harness_init_scale/m258.ts create mode 100644 test-files/multi/test_harness_init_scale/m259.ts create mode 100644 test-files/multi/test_harness_init_scale/m260.ts create mode 100644 test-files/multi/test_harness_init_scale/m261.ts create mode 100644 test-files/multi/test_harness_init_scale/m262.ts create mode 100644 test-files/multi/test_harness_init_scale/m263.ts create mode 100644 test-files/multi/test_harness_init_scale/m264.ts create mode 100644 test-files/multi/test_harness_init_scale/m265.ts create mode 100644 test-files/multi/test_harness_init_scale/m266.ts create mode 100644 test-files/multi/test_harness_init_scale/m267.ts create mode 100644 test-files/multi/test_harness_init_scale/m268.ts create mode 100644 test-files/multi/test_harness_init_scale/m269.ts create mode 100644 test-files/multi/test_harness_init_scale/m270.ts create mode 100644 test-files/multi/test_harness_init_scale/m271.ts create mode 100644 test-files/multi/test_harness_init_scale/m272.ts create mode 100644 test-files/multi/test_harness_init_scale/m273.ts create mode 100644 test-files/multi/test_harness_init_scale/m274.ts create mode 100644 test-files/multi/test_harness_init_scale/m275.ts create mode 100644 test-files/multi/test_harness_init_scale/m276.ts create mode 100644 test-files/multi/test_harness_init_scale/m277.ts create mode 100644 test-files/multi/test_harness_init_scale/m278.ts create mode 100644 test-files/multi/test_harness_init_scale/m279.ts create mode 100644 test-files/multi/test_harness_init_scale/m280.ts create mode 100644 test-files/multi/test_harness_init_scale/m281.ts create mode 100644 test-files/multi/test_harness_init_scale/m282.ts create mode 100644 test-files/multi/test_harness_init_scale/m283.ts create mode 100644 test-files/multi/test_harness_init_scale/m284.ts create mode 100644 test-files/multi/test_harness_init_scale/m285.ts create mode 100644 test-files/multi/test_harness_init_scale/m286.ts create mode 100644 test-files/multi/test_harness_init_scale/m287.ts create mode 100644 test-files/multi/test_harness_init_scale/m288.ts create mode 100644 test-files/multi/test_harness_init_scale/m289.ts create mode 100644 test-files/multi/test_harness_init_scale/m290.ts create mode 100644 test-files/multi/test_harness_init_scale/m291.ts create mode 100644 test-files/multi/test_harness_init_scale/m292.ts create mode 100644 test-files/multi/test_harness_init_scale/m293.ts create mode 100644 test-files/multi/test_harness_init_scale/m294.ts create mode 100644 test-files/multi/test_harness_init_scale/m295.ts create mode 100644 test-files/multi/test_harness_init_scale/m296.ts create mode 100644 test-files/multi/test_harness_init_scale/m297.ts create mode 100644 test-files/multi/test_harness_init_scale/m298.ts create mode 100644 test-files/multi/test_harness_init_scale/m299.ts diff --git a/test-files/multi/test_harness_init_scale/generate.py b/test-files/multi/test_harness_init_scale/generate.py new file mode 100644 index 000000000..185e8be21 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/generate.py @@ -0,0 +1,128 @@ +#!/usr/bin/env python3 +"""Generate the ≥300-module init-scale harness for #808. + +Reproduces the conditions of #684 (Effect's Schema.ts ~310th-init bug) by +forcing N cross-module init calls in topological order and asserting per +module that: + + - the exported numeric constant is still `typeof === "number"` after + all the upstream inits have run (no NaN-box tag leak), + - the exported class can be instantiated and its instance method + returns the expected string (no class_id collision / vtable smear). + +Usage: + python3 generate.py [N] # default N = 300 + +Idempotent — re-running overwrites m000.ts ... m{N-1}.ts and index.ts. +Run from the repo root or this directory; output paths are anchored to +this script's location. +""" +import os +import sys + +HERE = os.path.dirname(os.path.abspath(__file__)) + +MODULE_TEMPLATE = '''\ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #{i} in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +{import_line} +export const VAL_{i}: number = {value}; + +export class Cls_{i} {{ + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_{i}` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string {{ + return "Cls_{i}"; + }} +}} +''' + +INDEX_TEMPLATE = '''\ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// +// #808 — ≥300-module init-scale harness. Walks the chain of {n} small +// modules and asserts state isolation: +// +// - typeof each exported constant === "number" +// - constant value matches the expected formula 1000 + i +// - `new Cls_i().tag()` returns "Cls_i" (no class_id smear) +// +// On any failure, prints the first failing module so the regression is +// pinpointed. On success, prints a single OK line so the parity diff +// stays tiny. + +{imports} + +let failures = 0; +let first_fail = ""; + +function fail(where: string): void {{ + failures++; + if (first_fail === "") first_fail = where; +}} + +{checks} + +if (failures === 0) {{ + console.log("init-scale: OK ({n} modules)"); +}} else {{ + console.log("init-scale: FAIL first=" + first_fail + " total=" + failures); +}} +''' + + +def gen_module(i: int, n: int) -> str: + # m000 has no predecessor; m_i imports m_{i-1} to force a topological + # chain. The import is value-not-just-type so the predecessor's init + # actually runs before this module's init. + pad = f"{i:03}" + prev = f"{i - 1:03}" + if i == 0: + import_line = "// (m000 has no predecessor — the chain starts here.)" + else: + import_line = f'import {{ VAL_{prev} }} from "./m{prev}";\n' \ + f'// Reference the predecessor in a top-level expression to\n' \ + f'// guarantee the import survives DCE and the predecessor\n' \ + f'// init runs before ours.\n' \ + f'const _chain_{pad}: number = VAL_{prev} + 1;\n' \ + f'if (_chain_{pad} < 0) throw new Error("chain check");' + return MODULE_TEMPLATE.format(i=pad, value=1000 + i, import_line=import_line) + + +def gen_index(n: int) -> str: + imports_lines = [] + checks_lines = [] + for i in range(n): + idx = f"{i:03}" + imports_lines.append(f'import {{ VAL_{idx}, Cls_{idx} }} from "./m{idx}";') + checks_lines.append( + f'if (typeof VAL_{idx} !== "number" || VAL_{idx} !== {1000 + i}) fail("VAL_{idx}");\n' + f'if (new Cls_{idx}().tag() !== "Cls_{idx}") fail("Cls_{idx}");' + ) + return INDEX_TEMPLATE.format( + n=n, + imports="\n".join(imports_lines), + checks="\n".join(checks_lines), + ) + + +def main() -> None: + n = int(sys.argv[1]) if len(sys.argv) > 1 else 300 + if n < 1: + sys.exit("N must be >= 1") + for i in range(n): + path = os.path.join(HERE, f"m{i:03}.ts") + with open(path, "w") as fh: + fh.write(gen_module(i, n)) + with open(os.path.join(HERE, "index.ts"), "w") as fh: + fh.write(gen_index(n)) + print(f"wrote {n} module files + index.ts under {HERE}") + + +if __name__ == "__main__": + main() diff --git a/test-files/multi/test_harness_init_scale/index.ts b/test-files/multi/test_harness_init_scale/index.ts new file mode 100644 index 000000000..29885a332 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/index.ts @@ -0,0 +1,928 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// +// #808 — ≥300-module init-scale harness. Walks the chain of 300 small +// modules and asserts state isolation: +// +// - typeof each exported constant === "number" +// - constant value matches the expected formula 1000 + i +// - `new Cls_i().tag()` returns "Cls_i" (no class_id smear) +// +// On any failure, prints the first failing module so the regression is +// pinpointed. On success, prints a single OK line so the parity diff +// stays tiny. + +import { VAL_000, Cls_000 } from "./m000"; +import { VAL_001, Cls_001 } from "./m001"; +import { VAL_002, Cls_002 } from "./m002"; +import { VAL_003, Cls_003 } from "./m003"; +import { VAL_004, Cls_004 } from "./m004"; +import { VAL_005, Cls_005 } from "./m005"; +import { VAL_006, Cls_006 } from "./m006"; +import { VAL_007, Cls_007 } from "./m007"; +import { VAL_008, Cls_008 } from "./m008"; +import { VAL_009, Cls_009 } from "./m009"; +import { VAL_010, Cls_010 } from "./m010"; +import { VAL_011, Cls_011 } from "./m011"; +import { VAL_012, Cls_012 } from "./m012"; +import { VAL_013, Cls_013 } from "./m013"; +import { VAL_014, Cls_014 } from "./m014"; +import { VAL_015, Cls_015 } from "./m015"; +import { VAL_016, Cls_016 } from "./m016"; +import { VAL_017, Cls_017 } from "./m017"; +import { VAL_018, Cls_018 } from "./m018"; +import { VAL_019, Cls_019 } from "./m019"; +import { VAL_020, Cls_020 } from "./m020"; +import { VAL_021, Cls_021 } from "./m021"; +import { VAL_022, Cls_022 } from "./m022"; +import { VAL_023, Cls_023 } from "./m023"; +import { VAL_024, Cls_024 } from "./m024"; +import { VAL_025, Cls_025 } from "./m025"; +import { VAL_026, Cls_026 } from "./m026"; +import { VAL_027, Cls_027 } from "./m027"; +import { VAL_028, Cls_028 } from "./m028"; +import { VAL_029, Cls_029 } from "./m029"; +import { VAL_030, Cls_030 } from "./m030"; +import { VAL_031, Cls_031 } from "./m031"; +import { VAL_032, Cls_032 } from "./m032"; +import { VAL_033, Cls_033 } from "./m033"; +import { VAL_034, Cls_034 } from "./m034"; +import { VAL_035, Cls_035 } from "./m035"; +import { VAL_036, Cls_036 } from "./m036"; +import { VAL_037, Cls_037 } from "./m037"; +import { VAL_038, Cls_038 } from "./m038"; +import { VAL_039, Cls_039 } from "./m039"; +import { VAL_040, Cls_040 } from "./m040"; +import { VAL_041, Cls_041 } from "./m041"; +import { VAL_042, Cls_042 } from "./m042"; +import { VAL_043, Cls_043 } from "./m043"; +import { VAL_044, Cls_044 } from "./m044"; +import { VAL_045, Cls_045 } from "./m045"; +import { VAL_046, Cls_046 } from "./m046"; +import { VAL_047, Cls_047 } from "./m047"; +import { VAL_048, Cls_048 } from "./m048"; +import { VAL_049, Cls_049 } from "./m049"; +import { VAL_050, Cls_050 } from "./m050"; +import { VAL_051, Cls_051 } from "./m051"; +import { VAL_052, Cls_052 } from "./m052"; +import { VAL_053, Cls_053 } from "./m053"; +import { VAL_054, Cls_054 } from "./m054"; +import { VAL_055, Cls_055 } from "./m055"; +import { VAL_056, Cls_056 } from "./m056"; +import { VAL_057, Cls_057 } from "./m057"; +import { VAL_058, Cls_058 } from "./m058"; +import { VAL_059, Cls_059 } from "./m059"; +import { VAL_060, Cls_060 } from "./m060"; +import { VAL_061, Cls_061 } from "./m061"; +import { VAL_062, Cls_062 } from "./m062"; +import { VAL_063, Cls_063 } from "./m063"; +import { VAL_064, Cls_064 } from "./m064"; +import { VAL_065, Cls_065 } from "./m065"; +import { VAL_066, Cls_066 } from "./m066"; +import { VAL_067, Cls_067 } from "./m067"; +import { VAL_068, Cls_068 } from "./m068"; +import { VAL_069, Cls_069 } from "./m069"; +import { VAL_070, Cls_070 } from "./m070"; +import { VAL_071, Cls_071 } from "./m071"; +import { VAL_072, Cls_072 } from "./m072"; +import { VAL_073, Cls_073 } from "./m073"; +import { VAL_074, Cls_074 } from "./m074"; +import { VAL_075, Cls_075 } from "./m075"; +import { VAL_076, Cls_076 } from "./m076"; +import { VAL_077, Cls_077 } from "./m077"; +import { VAL_078, Cls_078 } from "./m078"; +import { VAL_079, Cls_079 } from "./m079"; +import { VAL_080, Cls_080 } from "./m080"; +import { VAL_081, Cls_081 } from "./m081"; +import { VAL_082, Cls_082 } from "./m082"; +import { VAL_083, Cls_083 } from "./m083"; +import { VAL_084, Cls_084 } from "./m084"; +import { VAL_085, Cls_085 } from "./m085"; +import { VAL_086, Cls_086 } from "./m086"; +import { VAL_087, Cls_087 } from "./m087"; +import { VAL_088, Cls_088 } from "./m088"; +import { VAL_089, Cls_089 } from "./m089"; +import { VAL_090, Cls_090 } from "./m090"; +import { VAL_091, Cls_091 } from "./m091"; +import { VAL_092, Cls_092 } from "./m092"; +import { VAL_093, Cls_093 } from "./m093"; +import { VAL_094, Cls_094 } from "./m094"; +import { VAL_095, Cls_095 } from "./m095"; +import { VAL_096, Cls_096 } from "./m096"; +import { VAL_097, Cls_097 } from "./m097"; +import { VAL_098, Cls_098 } from "./m098"; +import { VAL_099, Cls_099 } from "./m099"; +import { VAL_100, Cls_100 } from "./m100"; +import { VAL_101, Cls_101 } from "./m101"; +import { VAL_102, Cls_102 } from "./m102"; +import { VAL_103, Cls_103 } from "./m103"; +import { VAL_104, Cls_104 } from "./m104"; +import { VAL_105, Cls_105 } from "./m105"; +import { VAL_106, Cls_106 } from "./m106"; +import { VAL_107, Cls_107 } from "./m107"; +import { VAL_108, Cls_108 } from "./m108"; +import { VAL_109, Cls_109 } from "./m109"; +import { VAL_110, Cls_110 } from "./m110"; +import { VAL_111, Cls_111 } from "./m111"; +import { VAL_112, Cls_112 } from "./m112"; +import { VAL_113, Cls_113 } from "./m113"; +import { VAL_114, Cls_114 } from "./m114"; +import { VAL_115, Cls_115 } from "./m115"; +import { VAL_116, Cls_116 } from "./m116"; +import { VAL_117, Cls_117 } from "./m117"; +import { VAL_118, Cls_118 } from "./m118"; +import { VAL_119, Cls_119 } from "./m119"; +import { VAL_120, Cls_120 } from "./m120"; +import { VAL_121, Cls_121 } from "./m121"; +import { VAL_122, Cls_122 } from "./m122"; +import { VAL_123, Cls_123 } from "./m123"; +import { VAL_124, Cls_124 } from "./m124"; +import { VAL_125, Cls_125 } from "./m125"; +import { VAL_126, Cls_126 } from "./m126"; +import { VAL_127, Cls_127 } from "./m127"; +import { VAL_128, Cls_128 } from "./m128"; +import { VAL_129, Cls_129 } from "./m129"; +import { VAL_130, Cls_130 } from "./m130"; +import { VAL_131, Cls_131 } from "./m131"; +import { VAL_132, Cls_132 } from "./m132"; +import { VAL_133, Cls_133 } from "./m133"; +import { VAL_134, Cls_134 } from "./m134"; +import { VAL_135, Cls_135 } from "./m135"; +import { VAL_136, Cls_136 } from "./m136"; +import { VAL_137, Cls_137 } from "./m137"; +import { VAL_138, Cls_138 } from "./m138"; +import { VAL_139, Cls_139 } from "./m139"; +import { VAL_140, Cls_140 } from "./m140"; +import { VAL_141, Cls_141 } from "./m141"; +import { VAL_142, Cls_142 } from "./m142"; +import { VAL_143, Cls_143 } from "./m143"; +import { VAL_144, Cls_144 } from "./m144"; +import { VAL_145, Cls_145 } from "./m145"; +import { VAL_146, Cls_146 } from "./m146"; +import { VAL_147, Cls_147 } from "./m147"; +import { VAL_148, Cls_148 } from "./m148"; +import { VAL_149, Cls_149 } from "./m149"; +import { VAL_150, Cls_150 } from "./m150"; +import { VAL_151, Cls_151 } from "./m151"; +import { VAL_152, Cls_152 } from "./m152"; +import { VAL_153, Cls_153 } from "./m153"; +import { VAL_154, Cls_154 } from "./m154"; +import { VAL_155, Cls_155 } from "./m155"; +import { VAL_156, Cls_156 } from "./m156"; +import { VAL_157, Cls_157 } from "./m157"; +import { VAL_158, Cls_158 } from "./m158"; +import { VAL_159, Cls_159 } from "./m159"; +import { VAL_160, Cls_160 } from "./m160"; +import { VAL_161, Cls_161 } from "./m161"; +import { VAL_162, Cls_162 } from "./m162"; +import { VAL_163, Cls_163 } from "./m163"; +import { VAL_164, Cls_164 } from "./m164"; +import { VAL_165, Cls_165 } from "./m165"; +import { VAL_166, Cls_166 } from "./m166"; +import { VAL_167, Cls_167 } from "./m167"; +import { VAL_168, Cls_168 } from "./m168"; +import { VAL_169, Cls_169 } from "./m169"; +import { VAL_170, Cls_170 } from "./m170"; +import { VAL_171, Cls_171 } from "./m171"; +import { VAL_172, Cls_172 } from "./m172"; +import { VAL_173, Cls_173 } from "./m173"; +import { VAL_174, Cls_174 } from "./m174"; +import { VAL_175, Cls_175 } from "./m175"; +import { VAL_176, Cls_176 } from "./m176"; +import { VAL_177, Cls_177 } from "./m177"; +import { VAL_178, Cls_178 } from "./m178"; +import { VAL_179, Cls_179 } from "./m179"; +import { VAL_180, Cls_180 } from "./m180"; +import { VAL_181, Cls_181 } from "./m181"; +import { VAL_182, Cls_182 } from "./m182"; +import { VAL_183, Cls_183 } from "./m183"; +import { VAL_184, Cls_184 } from "./m184"; +import { VAL_185, Cls_185 } from "./m185"; +import { VAL_186, Cls_186 } from "./m186"; +import { VAL_187, Cls_187 } from "./m187"; +import { VAL_188, Cls_188 } from "./m188"; +import { VAL_189, Cls_189 } from "./m189"; +import { VAL_190, Cls_190 } from "./m190"; +import { VAL_191, Cls_191 } from "./m191"; +import { VAL_192, Cls_192 } from "./m192"; +import { VAL_193, Cls_193 } from "./m193"; +import { VAL_194, Cls_194 } from "./m194"; +import { VAL_195, Cls_195 } from "./m195"; +import { VAL_196, Cls_196 } from "./m196"; +import { VAL_197, Cls_197 } from "./m197"; +import { VAL_198, Cls_198 } from "./m198"; +import { VAL_199, Cls_199 } from "./m199"; +import { VAL_200, Cls_200 } from "./m200"; +import { VAL_201, Cls_201 } from "./m201"; +import { VAL_202, Cls_202 } from "./m202"; +import { VAL_203, Cls_203 } from "./m203"; +import { VAL_204, Cls_204 } from "./m204"; +import { VAL_205, Cls_205 } from "./m205"; +import { VAL_206, Cls_206 } from "./m206"; +import { VAL_207, Cls_207 } from "./m207"; +import { VAL_208, Cls_208 } from "./m208"; +import { VAL_209, Cls_209 } from "./m209"; +import { VAL_210, Cls_210 } from "./m210"; +import { VAL_211, Cls_211 } from "./m211"; +import { VAL_212, Cls_212 } from "./m212"; +import { VAL_213, Cls_213 } from "./m213"; +import { VAL_214, Cls_214 } from "./m214"; +import { VAL_215, Cls_215 } from "./m215"; +import { VAL_216, Cls_216 } from "./m216"; +import { VAL_217, Cls_217 } from "./m217"; +import { VAL_218, Cls_218 } from "./m218"; +import { VAL_219, Cls_219 } from "./m219"; +import { VAL_220, Cls_220 } from "./m220"; +import { VAL_221, Cls_221 } from "./m221"; +import { VAL_222, Cls_222 } from "./m222"; +import { VAL_223, Cls_223 } from "./m223"; +import { VAL_224, Cls_224 } from "./m224"; +import { VAL_225, Cls_225 } from "./m225"; +import { VAL_226, Cls_226 } from "./m226"; +import { VAL_227, Cls_227 } from "./m227"; +import { VAL_228, Cls_228 } from "./m228"; +import { VAL_229, Cls_229 } from "./m229"; +import { VAL_230, Cls_230 } from "./m230"; +import { VAL_231, Cls_231 } from "./m231"; +import { VAL_232, Cls_232 } from "./m232"; +import { VAL_233, Cls_233 } from "./m233"; +import { VAL_234, Cls_234 } from "./m234"; +import { VAL_235, Cls_235 } from "./m235"; +import { VAL_236, Cls_236 } from "./m236"; +import { VAL_237, Cls_237 } from "./m237"; +import { VAL_238, Cls_238 } from "./m238"; +import { VAL_239, Cls_239 } from "./m239"; +import { VAL_240, Cls_240 } from "./m240"; +import { VAL_241, Cls_241 } from "./m241"; +import { VAL_242, Cls_242 } from "./m242"; +import { VAL_243, Cls_243 } from "./m243"; +import { VAL_244, Cls_244 } from "./m244"; +import { VAL_245, Cls_245 } from "./m245"; +import { VAL_246, Cls_246 } from "./m246"; +import { VAL_247, Cls_247 } from "./m247"; +import { VAL_248, Cls_248 } from "./m248"; +import { VAL_249, Cls_249 } from "./m249"; +import { VAL_250, Cls_250 } from "./m250"; +import { VAL_251, Cls_251 } from "./m251"; +import { VAL_252, Cls_252 } from "./m252"; +import { VAL_253, Cls_253 } from "./m253"; +import { VAL_254, Cls_254 } from "./m254"; +import { VAL_255, Cls_255 } from "./m255"; +import { VAL_256, Cls_256 } from "./m256"; +import { VAL_257, Cls_257 } from "./m257"; +import { VAL_258, Cls_258 } from "./m258"; +import { VAL_259, Cls_259 } from "./m259"; +import { VAL_260, Cls_260 } from "./m260"; +import { VAL_261, Cls_261 } from "./m261"; +import { VAL_262, Cls_262 } from "./m262"; +import { VAL_263, Cls_263 } from "./m263"; +import { VAL_264, Cls_264 } from "./m264"; +import { VAL_265, Cls_265 } from "./m265"; +import { VAL_266, Cls_266 } from "./m266"; +import { VAL_267, Cls_267 } from "./m267"; +import { VAL_268, Cls_268 } from "./m268"; +import { VAL_269, Cls_269 } from "./m269"; +import { VAL_270, Cls_270 } from "./m270"; +import { VAL_271, Cls_271 } from "./m271"; +import { VAL_272, Cls_272 } from "./m272"; +import { VAL_273, Cls_273 } from "./m273"; +import { VAL_274, Cls_274 } from "./m274"; +import { VAL_275, Cls_275 } from "./m275"; +import { VAL_276, Cls_276 } from "./m276"; +import { VAL_277, Cls_277 } from "./m277"; +import { VAL_278, Cls_278 } from "./m278"; +import { VAL_279, Cls_279 } from "./m279"; +import { VAL_280, Cls_280 } from "./m280"; +import { VAL_281, Cls_281 } from "./m281"; +import { VAL_282, Cls_282 } from "./m282"; +import { VAL_283, Cls_283 } from "./m283"; +import { VAL_284, Cls_284 } from "./m284"; +import { VAL_285, Cls_285 } from "./m285"; +import { VAL_286, Cls_286 } from "./m286"; +import { VAL_287, Cls_287 } from "./m287"; +import { VAL_288, Cls_288 } from "./m288"; +import { VAL_289, Cls_289 } from "./m289"; +import { VAL_290, Cls_290 } from "./m290"; +import { VAL_291, Cls_291 } from "./m291"; +import { VAL_292, Cls_292 } from "./m292"; +import { VAL_293, Cls_293 } from "./m293"; +import { VAL_294, Cls_294 } from "./m294"; +import { VAL_295, Cls_295 } from "./m295"; +import { VAL_296, Cls_296 } from "./m296"; +import { VAL_297, Cls_297 } from "./m297"; +import { VAL_298, Cls_298 } from "./m298"; +import { VAL_299, Cls_299 } from "./m299"; + +let failures = 0; +let first_fail = ""; + +function fail(where: string): void { + failures++; + if (first_fail === "") first_fail = where; +} + +if (typeof VAL_000 !== "number" || VAL_000 !== 1000) fail("VAL_000"); +if (new Cls_000().tag() !== "Cls_000") fail("Cls_000"); +if (typeof VAL_001 !== "number" || VAL_001 !== 1001) fail("VAL_001"); +if (new Cls_001().tag() !== "Cls_001") fail("Cls_001"); +if (typeof VAL_002 !== "number" || VAL_002 !== 1002) fail("VAL_002"); +if (new Cls_002().tag() !== "Cls_002") fail("Cls_002"); +if (typeof VAL_003 !== "number" || VAL_003 !== 1003) fail("VAL_003"); +if (new Cls_003().tag() !== "Cls_003") fail("Cls_003"); +if (typeof VAL_004 !== "number" || VAL_004 !== 1004) fail("VAL_004"); +if (new Cls_004().tag() !== "Cls_004") fail("Cls_004"); +if (typeof VAL_005 !== "number" || VAL_005 !== 1005) fail("VAL_005"); +if (new Cls_005().tag() !== "Cls_005") fail("Cls_005"); +if (typeof VAL_006 !== "number" || VAL_006 !== 1006) fail("VAL_006"); +if (new Cls_006().tag() !== "Cls_006") fail("Cls_006"); +if (typeof VAL_007 !== "number" || VAL_007 !== 1007) fail("VAL_007"); +if (new Cls_007().tag() !== "Cls_007") fail("Cls_007"); +if (typeof VAL_008 !== "number" || VAL_008 !== 1008) fail("VAL_008"); +if (new Cls_008().tag() !== "Cls_008") fail("Cls_008"); +if (typeof VAL_009 !== "number" || VAL_009 !== 1009) fail("VAL_009"); +if (new Cls_009().tag() !== "Cls_009") fail("Cls_009"); +if (typeof VAL_010 !== "number" || VAL_010 !== 1010) fail("VAL_010"); +if (new Cls_010().tag() !== "Cls_010") fail("Cls_010"); +if (typeof VAL_011 !== "number" || VAL_011 !== 1011) fail("VAL_011"); +if (new Cls_011().tag() !== "Cls_011") fail("Cls_011"); +if (typeof VAL_012 !== "number" || VAL_012 !== 1012) fail("VAL_012"); +if (new Cls_012().tag() !== "Cls_012") fail("Cls_012"); +if (typeof VAL_013 !== "number" || VAL_013 !== 1013) fail("VAL_013"); +if (new Cls_013().tag() !== "Cls_013") fail("Cls_013"); +if (typeof VAL_014 !== "number" || VAL_014 !== 1014) fail("VAL_014"); +if (new Cls_014().tag() !== "Cls_014") fail("Cls_014"); +if (typeof VAL_015 !== "number" || VAL_015 !== 1015) fail("VAL_015"); +if (new Cls_015().tag() !== "Cls_015") fail("Cls_015"); +if (typeof VAL_016 !== "number" || VAL_016 !== 1016) fail("VAL_016"); +if (new Cls_016().tag() !== "Cls_016") fail("Cls_016"); +if (typeof VAL_017 !== "number" || VAL_017 !== 1017) fail("VAL_017"); +if (new Cls_017().tag() !== "Cls_017") fail("Cls_017"); +if (typeof VAL_018 !== "number" || VAL_018 !== 1018) fail("VAL_018"); +if (new Cls_018().tag() !== "Cls_018") fail("Cls_018"); +if (typeof VAL_019 !== "number" || VAL_019 !== 1019) fail("VAL_019"); +if (new Cls_019().tag() !== "Cls_019") fail("Cls_019"); +if (typeof VAL_020 !== "number" || VAL_020 !== 1020) fail("VAL_020"); +if (new Cls_020().tag() !== "Cls_020") fail("Cls_020"); +if (typeof VAL_021 !== "number" || VAL_021 !== 1021) fail("VAL_021"); +if (new Cls_021().tag() !== "Cls_021") fail("Cls_021"); +if (typeof VAL_022 !== "number" || VAL_022 !== 1022) fail("VAL_022"); +if (new Cls_022().tag() !== "Cls_022") fail("Cls_022"); +if (typeof VAL_023 !== "number" || VAL_023 !== 1023) fail("VAL_023"); +if (new Cls_023().tag() !== "Cls_023") fail("Cls_023"); +if (typeof VAL_024 !== "number" || VAL_024 !== 1024) fail("VAL_024"); +if (new Cls_024().tag() !== "Cls_024") fail("Cls_024"); +if (typeof VAL_025 !== "number" || VAL_025 !== 1025) fail("VAL_025"); +if (new Cls_025().tag() !== "Cls_025") fail("Cls_025"); +if (typeof VAL_026 !== "number" || VAL_026 !== 1026) fail("VAL_026"); +if (new Cls_026().tag() !== "Cls_026") fail("Cls_026"); +if (typeof VAL_027 !== "number" || VAL_027 !== 1027) fail("VAL_027"); +if (new Cls_027().tag() !== "Cls_027") fail("Cls_027"); +if (typeof VAL_028 !== "number" || VAL_028 !== 1028) fail("VAL_028"); +if (new Cls_028().tag() !== "Cls_028") fail("Cls_028"); +if (typeof VAL_029 !== "number" || VAL_029 !== 1029) fail("VAL_029"); +if (new Cls_029().tag() !== "Cls_029") fail("Cls_029"); +if (typeof VAL_030 !== "number" || VAL_030 !== 1030) fail("VAL_030"); +if (new Cls_030().tag() !== "Cls_030") fail("Cls_030"); +if (typeof VAL_031 !== "number" || VAL_031 !== 1031) fail("VAL_031"); +if (new Cls_031().tag() !== "Cls_031") fail("Cls_031"); +if (typeof VAL_032 !== "number" || VAL_032 !== 1032) fail("VAL_032"); +if (new Cls_032().tag() !== "Cls_032") fail("Cls_032"); +if (typeof VAL_033 !== "number" || VAL_033 !== 1033) fail("VAL_033"); +if (new Cls_033().tag() !== "Cls_033") fail("Cls_033"); +if (typeof VAL_034 !== "number" || VAL_034 !== 1034) fail("VAL_034"); +if (new Cls_034().tag() !== "Cls_034") fail("Cls_034"); +if (typeof VAL_035 !== "number" || VAL_035 !== 1035) fail("VAL_035"); +if (new Cls_035().tag() !== "Cls_035") fail("Cls_035"); +if (typeof VAL_036 !== "number" || VAL_036 !== 1036) fail("VAL_036"); +if (new Cls_036().tag() !== "Cls_036") fail("Cls_036"); +if (typeof VAL_037 !== "number" || VAL_037 !== 1037) fail("VAL_037"); +if (new Cls_037().tag() !== "Cls_037") fail("Cls_037"); +if (typeof VAL_038 !== "number" || VAL_038 !== 1038) fail("VAL_038"); +if (new Cls_038().tag() !== "Cls_038") fail("Cls_038"); +if (typeof VAL_039 !== "number" || VAL_039 !== 1039) fail("VAL_039"); +if (new Cls_039().tag() !== "Cls_039") fail("Cls_039"); +if (typeof VAL_040 !== "number" || VAL_040 !== 1040) fail("VAL_040"); +if (new Cls_040().tag() !== "Cls_040") fail("Cls_040"); +if (typeof VAL_041 !== "number" || VAL_041 !== 1041) fail("VAL_041"); +if (new Cls_041().tag() !== "Cls_041") fail("Cls_041"); +if (typeof VAL_042 !== "number" || VAL_042 !== 1042) fail("VAL_042"); +if (new Cls_042().tag() !== "Cls_042") fail("Cls_042"); +if (typeof VAL_043 !== "number" || VAL_043 !== 1043) fail("VAL_043"); +if (new Cls_043().tag() !== "Cls_043") fail("Cls_043"); +if (typeof VAL_044 !== "number" || VAL_044 !== 1044) fail("VAL_044"); +if (new Cls_044().tag() !== "Cls_044") fail("Cls_044"); +if (typeof VAL_045 !== "number" || VAL_045 !== 1045) fail("VAL_045"); +if (new Cls_045().tag() !== "Cls_045") fail("Cls_045"); +if (typeof VAL_046 !== "number" || VAL_046 !== 1046) fail("VAL_046"); +if (new Cls_046().tag() !== "Cls_046") fail("Cls_046"); +if (typeof VAL_047 !== "number" || VAL_047 !== 1047) fail("VAL_047"); +if (new Cls_047().tag() !== "Cls_047") fail("Cls_047"); +if (typeof VAL_048 !== "number" || VAL_048 !== 1048) fail("VAL_048"); +if (new Cls_048().tag() !== "Cls_048") fail("Cls_048"); +if (typeof VAL_049 !== "number" || VAL_049 !== 1049) fail("VAL_049"); +if (new Cls_049().tag() !== "Cls_049") fail("Cls_049"); +if (typeof VAL_050 !== "number" || VAL_050 !== 1050) fail("VAL_050"); +if (new Cls_050().tag() !== "Cls_050") fail("Cls_050"); +if (typeof VAL_051 !== "number" || VAL_051 !== 1051) fail("VAL_051"); +if (new Cls_051().tag() !== "Cls_051") fail("Cls_051"); +if (typeof VAL_052 !== "number" || VAL_052 !== 1052) fail("VAL_052"); +if (new Cls_052().tag() !== "Cls_052") fail("Cls_052"); +if (typeof VAL_053 !== "number" || VAL_053 !== 1053) fail("VAL_053"); +if (new Cls_053().tag() !== "Cls_053") fail("Cls_053"); +if (typeof VAL_054 !== "number" || VAL_054 !== 1054) fail("VAL_054"); +if (new Cls_054().tag() !== "Cls_054") fail("Cls_054"); +if (typeof VAL_055 !== "number" || VAL_055 !== 1055) fail("VAL_055"); +if (new Cls_055().tag() !== "Cls_055") fail("Cls_055"); +if (typeof VAL_056 !== "number" || VAL_056 !== 1056) fail("VAL_056"); +if (new Cls_056().tag() !== "Cls_056") fail("Cls_056"); +if (typeof VAL_057 !== "number" || VAL_057 !== 1057) fail("VAL_057"); +if (new Cls_057().tag() !== "Cls_057") fail("Cls_057"); +if (typeof VAL_058 !== "number" || VAL_058 !== 1058) fail("VAL_058"); +if (new Cls_058().tag() !== "Cls_058") fail("Cls_058"); +if (typeof VAL_059 !== "number" || VAL_059 !== 1059) fail("VAL_059"); +if (new Cls_059().tag() !== "Cls_059") fail("Cls_059"); +if (typeof VAL_060 !== "number" || VAL_060 !== 1060) fail("VAL_060"); +if (new Cls_060().tag() !== "Cls_060") fail("Cls_060"); +if (typeof VAL_061 !== "number" || VAL_061 !== 1061) fail("VAL_061"); +if (new Cls_061().tag() !== "Cls_061") fail("Cls_061"); +if (typeof VAL_062 !== "number" || VAL_062 !== 1062) fail("VAL_062"); +if (new Cls_062().tag() !== "Cls_062") fail("Cls_062"); +if (typeof VAL_063 !== "number" || VAL_063 !== 1063) fail("VAL_063"); +if (new Cls_063().tag() !== "Cls_063") fail("Cls_063"); +if (typeof VAL_064 !== "number" || VAL_064 !== 1064) fail("VAL_064"); +if (new Cls_064().tag() !== "Cls_064") fail("Cls_064"); +if (typeof VAL_065 !== "number" || VAL_065 !== 1065) fail("VAL_065"); +if (new Cls_065().tag() !== "Cls_065") fail("Cls_065"); +if (typeof VAL_066 !== "number" || VAL_066 !== 1066) fail("VAL_066"); +if (new Cls_066().tag() !== "Cls_066") fail("Cls_066"); +if (typeof VAL_067 !== "number" || VAL_067 !== 1067) fail("VAL_067"); +if (new Cls_067().tag() !== "Cls_067") fail("Cls_067"); +if (typeof VAL_068 !== "number" || VAL_068 !== 1068) fail("VAL_068"); +if (new Cls_068().tag() !== "Cls_068") fail("Cls_068"); +if (typeof VAL_069 !== "number" || VAL_069 !== 1069) fail("VAL_069"); +if (new Cls_069().tag() !== "Cls_069") fail("Cls_069"); +if (typeof VAL_070 !== "number" || VAL_070 !== 1070) fail("VAL_070"); +if (new Cls_070().tag() !== "Cls_070") fail("Cls_070"); +if (typeof VAL_071 !== "number" || VAL_071 !== 1071) fail("VAL_071"); +if (new Cls_071().tag() !== "Cls_071") fail("Cls_071"); +if (typeof VAL_072 !== "number" || VAL_072 !== 1072) fail("VAL_072"); +if (new Cls_072().tag() !== "Cls_072") fail("Cls_072"); +if (typeof VAL_073 !== "number" || VAL_073 !== 1073) fail("VAL_073"); +if (new Cls_073().tag() !== "Cls_073") fail("Cls_073"); +if (typeof VAL_074 !== "number" || VAL_074 !== 1074) fail("VAL_074"); +if (new Cls_074().tag() !== "Cls_074") fail("Cls_074"); +if (typeof VAL_075 !== "number" || VAL_075 !== 1075) fail("VAL_075"); +if (new Cls_075().tag() !== "Cls_075") fail("Cls_075"); +if (typeof VAL_076 !== "number" || VAL_076 !== 1076) fail("VAL_076"); +if (new Cls_076().tag() !== "Cls_076") fail("Cls_076"); +if (typeof VAL_077 !== "number" || VAL_077 !== 1077) fail("VAL_077"); +if (new Cls_077().tag() !== "Cls_077") fail("Cls_077"); +if (typeof VAL_078 !== "number" || VAL_078 !== 1078) fail("VAL_078"); +if (new Cls_078().tag() !== "Cls_078") fail("Cls_078"); +if (typeof VAL_079 !== "number" || VAL_079 !== 1079) fail("VAL_079"); +if (new Cls_079().tag() !== "Cls_079") fail("Cls_079"); +if (typeof VAL_080 !== "number" || VAL_080 !== 1080) fail("VAL_080"); +if (new Cls_080().tag() !== "Cls_080") fail("Cls_080"); +if (typeof VAL_081 !== "number" || VAL_081 !== 1081) fail("VAL_081"); +if (new Cls_081().tag() !== "Cls_081") fail("Cls_081"); +if (typeof VAL_082 !== "number" || VAL_082 !== 1082) fail("VAL_082"); +if (new Cls_082().tag() !== "Cls_082") fail("Cls_082"); +if (typeof VAL_083 !== "number" || VAL_083 !== 1083) fail("VAL_083"); +if (new Cls_083().tag() !== "Cls_083") fail("Cls_083"); +if (typeof VAL_084 !== "number" || VAL_084 !== 1084) fail("VAL_084"); +if (new Cls_084().tag() !== "Cls_084") fail("Cls_084"); +if (typeof VAL_085 !== "number" || VAL_085 !== 1085) fail("VAL_085"); +if (new Cls_085().tag() !== "Cls_085") fail("Cls_085"); +if (typeof VAL_086 !== "number" || VAL_086 !== 1086) fail("VAL_086"); +if (new Cls_086().tag() !== "Cls_086") fail("Cls_086"); +if (typeof VAL_087 !== "number" || VAL_087 !== 1087) fail("VAL_087"); +if (new Cls_087().tag() !== "Cls_087") fail("Cls_087"); +if (typeof VAL_088 !== "number" || VAL_088 !== 1088) fail("VAL_088"); +if (new Cls_088().tag() !== "Cls_088") fail("Cls_088"); +if (typeof VAL_089 !== "number" || VAL_089 !== 1089) fail("VAL_089"); +if (new Cls_089().tag() !== "Cls_089") fail("Cls_089"); +if (typeof VAL_090 !== "number" || VAL_090 !== 1090) fail("VAL_090"); +if (new Cls_090().tag() !== "Cls_090") fail("Cls_090"); +if (typeof VAL_091 !== "number" || VAL_091 !== 1091) fail("VAL_091"); +if (new Cls_091().tag() !== "Cls_091") fail("Cls_091"); +if (typeof VAL_092 !== "number" || VAL_092 !== 1092) fail("VAL_092"); +if (new Cls_092().tag() !== "Cls_092") fail("Cls_092"); +if (typeof VAL_093 !== "number" || VAL_093 !== 1093) fail("VAL_093"); +if (new Cls_093().tag() !== "Cls_093") fail("Cls_093"); +if (typeof VAL_094 !== "number" || VAL_094 !== 1094) fail("VAL_094"); +if (new Cls_094().tag() !== "Cls_094") fail("Cls_094"); +if (typeof VAL_095 !== "number" || VAL_095 !== 1095) fail("VAL_095"); +if (new Cls_095().tag() !== "Cls_095") fail("Cls_095"); +if (typeof VAL_096 !== "number" || VAL_096 !== 1096) fail("VAL_096"); +if (new Cls_096().tag() !== "Cls_096") fail("Cls_096"); +if (typeof VAL_097 !== "number" || VAL_097 !== 1097) fail("VAL_097"); +if (new Cls_097().tag() !== "Cls_097") fail("Cls_097"); +if (typeof VAL_098 !== "number" || VAL_098 !== 1098) fail("VAL_098"); +if (new Cls_098().tag() !== "Cls_098") fail("Cls_098"); +if (typeof VAL_099 !== "number" || VAL_099 !== 1099) fail("VAL_099"); +if (new Cls_099().tag() !== "Cls_099") fail("Cls_099"); +if (typeof VAL_100 !== "number" || VAL_100 !== 1100) fail("VAL_100"); +if (new Cls_100().tag() !== "Cls_100") fail("Cls_100"); +if (typeof VAL_101 !== "number" || VAL_101 !== 1101) fail("VAL_101"); +if (new Cls_101().tag() !== "Cls_101") fail("Cls_101"); +if (typeof VAL_102 !== "number" || VAL_102 !== 1102) fail("VAL_102"); +if (new Cls_102().tag() !== "Cls_102") fail("Cls_102"); +if (typeof VAL_103 !== "number" || VAL_103 !== 1103) fail("VAL_103"); +if (new Cls_103().tag() !== "Cls_103") fail("Cls_103"); +if (typeof VAL_104 !== "number" || VAL_104 !== 1104) fail("VAL_104"); +if (new Cls_104().tag() !== "Cls_104") fail("Cls_104"); +if (typeof VAL_105 !== "number" || VAL_105 !== 1105) fail("VAL_105"); +if (new Cls_105().tag() !== "Cls_105") fail("Cls_105"); +if (typeof VAL_106 !== "number" || VAL_106 !== 1106) fail("VAL_106"); +if (new Cls_106().tag() !== "Cls_106") fail("Cls_106"); +if (typeof VAL_107 !== "number" || VAL_107 !== 1107) fail("VAL_107"); +if (new Cls_107().tag() !== "Cls_107") fail("Cls_107"); +if (typeof VAL_108 !== "number" || VAL_108 !== 1108) fail("VAL_108"); +if (new Cls_108().tag() !== "Cls_108") fail("Cls_108"); +if (typeof VAL_109 !== "number" || VAL_109 !== 1109) fail("VAL_109"); +if (new Cls_109().tag() !== "Cls_109") fail("Cls_109"); +if (typeof VAL_110 !== "number" || VAL_110 !== 1110) fail("VAL_110"); +if (new Cls_110().tag() !== "Cls_110") fail("Cls_110"); +if (typeof VAL_111 !== "number" || VAL_111 !== 1111) fail("VAL_111"); +if (new Cls_111().tag() !== "Cls_111") fail("Cls_111"); +if (typeof VAL_112 !== "number" || VAL_112 !== 1112) fail("VAL_112"); +if (new Cls_112().tag() !== "Cls_112") fail("Cls_112"); +if (typeof VAL_113 !== "number" || VAL_113 !== 1113) fail("VAL_113"); +if (new Cls_113().tag() !== "Cls_113") fail("Cls_113"); +if (typeof VAL_114 !== "number" || VAL_114 !== 1114) fail("VAL_114"); +if (new Cls_114().tag() !== "Cls_114") fail("Cls_114"); +if (typeof VAL_115 !== "number" || VAL_115 !== 1115) fail("VAL_115"); +if (new Cls_115().tag() !== "Cls_115") fail("Cls_115"); +if (typeof VAL_116 !== "number" || VAL_116 !== 1116) fail("VAL_116"); +if (new Cls_116().tag() !== "Cls_116") fail("Cls_116"); +if (typeof VAL_117 !== "number" || VAL_117 !== 1117) fail("VAL_117"); +if (new Cls_117().tag() !== "Cls_117") fail("Cls_117"); +if (typeof VAL_118 !== "number" || VAL_118 !== 1118) fail("VAL_118"); +if (new Cls_118().tag() !== "Cls_118") fail("Cls_118"); +if (typeof VAL_119 !== "number" || VAL_119 !== 1119) fail("VAL_119"); +if (new Cls_119().tag() !== "Cls_119") fail("Cls_119"); +if (typeof VAL_120 !== "number" || VAL_120 !== 1120) fail("VAL_120"); +if (new Cls_120().tag() !== "Cls_120") fail("Cls_120"); +if (typeof VAL_121 !== "number" || VAL_121 !== 1121) fail("VAL_121"); +if (new Cls_121().tag() !== "Cls_121") fail("Cls_121"); +if (typeof VAL_122 !== "number" || VAL_122 !== 1122) fail("VAL_122"); +if (new Cls_122().tag() !== "Cls_122") fail("Cls_122"); +if (typeof VAL_123 !== "number" || VAL_123 !== 1123) fail("VAL_123"); +if (new Cls_123().tag() !== "Cls_123") fail("Cls_123"); +if (typeof VAL_124 !== "number" || VAL_124 !== 1124) fail("VAL_124"); +if (new Cls_124().tag() !== "Cls_124") fail("Cls_124"); +if (typeof VAL_125 !== "number" || VAL_125 !== 1125) fail("VAL_125"); +if (new Cls_125().tag() !== "Cls_125") fail("Cls_125"); +if (typeof VAL_126 !== "number" || VAL_126 !== 1126) fail("VAL_126"); +if (new Cls_126().tag() !== "Cls_126") fail("Cls_126"); +if (typeof VAL_127 !== "number" || VAL_127 !== 1127) fail("VAL_127"); +if (new Cls_127().tag() !== "Cls_127") fail("Cls_127"); +if (typeof VAL_128 !== "number" || VAL_128 !== 1128) fail("VAL_128"); +if (new Cls_128().tag() !== "Cls_128") fail("Cls_128"); +if (typeof VAL_129 !== "number" || VAL_129 !== 1129) fail("VAL_129"); +if (new Cls_129().tag() !== "Cls_129") fail("Cls_129"); +if (typeof VAL_130 !== "number" || VAL_130 !== 1130) fail("VAL_130"); +if (new Cls_130().tag() !== "Cls_130") fail("Cls_130"); +if (typeof VAL_131 !== "number" || VAL_131 !== 1131) fail("VAL_131"); +if (new Cls_131().tag() !== "Cls_131") fail("Cls_131"); +if (typeof VAL_132 !== "number" || VAL_132 !== 1132) fail("VAL_132"); +if (new Cls_132().tag() !== "Cls_132") fail("Cls_132"); +if (typeof VAL_133 !== "number" || VAL_133 !== 1133) fail("VAL_133"); +if (new Cls_133().tag() !== "Cls_133") fail("Cls_133"); +if (typeof VAL_134 !== "number" || VAL_134 !== 1134) fail("VAL_134"); +if (new Cls_134().tag() !== "Cls_134") fail("Cls_134"); +if (typeof VAL_135 !== "number" || VAL_135 !== 1135) fail("VAL_135"); +if (new Cls_135().tag() !== "Cls_135") fail("Cls_135"); +if (typeof VAL_136 !== "number" || VAL_136 !== 1136) fail("VAL_136"); +if (new Cls_136().tag() !== "Cls_136") fail("Cls_136"); +if (typeof VAL_137 !== "number" || VAL_137 !== 1137) fail("VAL_137"); +if (new Cls_137().tag() !== "Cls_137") fail("Cls_137"); +if (typeof VAL_138 !== "number" || VAL_138 !== 1138) fail("VAL_138"); +if (new Cls_138().tag() !== "Cls_138") fail("Cls_138"); +if (typeof VAL_139 !== "number" || VAL_139 !== 1139) fail("VAL_139"); +if (new Cls_139().tag() !== "Cls_139") fail("Cls_139"); +if (typeof VAL_140 !== "number" || VAL_140 !== 1140) fail("VAL_140"); +if (new Cls_140().tag() !== "Cls_140") fail("Cls_140"); +if (typeof VAL_141 !== "number" || VAL_141 !== 1141) fail("VAL_141"); +if (new Cls_141().tag() !== "Cls_141") fail("Cls_141"); +if (typeof VAL_142 !== "number" || VAL_142 !== 1142) fail("VAL_142"); +if (new Cls_142().tag() !== "Cls_142") fail("Cls_142"); +if (typeof VAL_143 !== "number" || VAL_143 !== 1143) fail("VAL_143"); +if (new Cls_143().tag() !== "Cls_143") fail("Cls_143"); +if (typeof VAL_144 !== "number" || VAL_144 !== 1144) fail("VAL_144"); +if (new Cls_144().tag() !== "Cls_144") fail("Cls_144"); +if (typeof VAL_145 !== "number" || VAL_145 !== 1145) fail("VAL_145"); +if (new Cls_145().tag() !== "Cls_145") fail("Cls_145"); +if (typeof VAL_146 !== "number" || VAL_146 !== 1146) fail("VAL_146"); +if (new Cls_146().tag() !== "Cls_146") fail("Cls_146"); +if (typeof VAL_147 !== "number" || VAL_147 !== 1147) fail("VAL_147"); +if (new Cls_147().tag() !== "Cls_147") fail("Cls_147"); +if (typeof VAL_148 !== "number" || VAL_148 !== 1148) fail("VAL_148"); +if (new Cls_148().tag() !== "Cls_148") fail("Cls_148"); +if (typeof VAL_149 !== "number" || VAL_149 !== 1149) fail("VAL_149"); +if (new Cls_149().tag() !== "Cls_149") fail("Cls_149"); +if (typeof VAL_150 !== "number" || VAL_150 !== 1150) fail("VAL_150"); +if (new Cls_150().tag() !== "Cls_150") fail("Cls_150"); +if (typeof VAL_151 !== "number" || VAL_151 !== 1151) fail("VAL_151"); +if (new Cls_151().tag() !== "Cls_151") fail("Cls_151"); +if (typeof VAL_152 !== "number" || VAL_152 !== 1152) fail("VAL_152"); +if (new Cls_152().tag() !== "Cls_152") fail("Cls_152"); +if (typeof VAL_153 !== "number" || VAL_153 !== 1153) fail("VAL_153"); +if (new Cls_153().tag() !== "Cls_153") fail("Cls_153"); +if (typeof VAL_154 !== "number" || VAL_154 !== 1154) fail("VAL_154"); +if (new Cls_154().tag() !== "Cls_154") fail("Cls_154"); +if (typeof VAL_155 !== "number" || VAL_155 !== 1155) fail("VAL_155"); +if (new Cls_155().tag() !== "Cls_155") fail("Cls_155"); +if (typeof VAL_156 !== "number" || VAL_156 !== 1156) fail("VAL_156"); +if (new Cls_156().tag() !== "Cls_156") fail("Cls_156"); +if (typeof VAL_157 !== "number" || VAL_157 !== 1157) fail("VAL_157"); +if (new Cls_157().tag() !== "Cls_157") fail("Cls_157"); +if (typeof VAL_158 !== "number" || VAL_158 !== 1158) fail("VAL_158"); +if (new Cls_158().tag() !== "Cls_158") fail("Cls_158"); +if (typeof VAL_159 !== "number" || VAL_159 !== 1159) fail("VAL_159"); +if (new Cls_159().tag() !== "Cls_159") fail("Cls_159"); +if (typeof VAL_160 !== "number" || VAL_160 !== 1160) fail("VAL_160"); +if (new Cls_160().tag() !== "Cls_160") fail("Cls_160"); +if (typeof VAL_161 !== "number" || VAL_161 !== 1161) fail("VAL_161"); +if (new Cls_161().tag() !== "Cls_161") fail("Cls_161"); +if (typeof VAL_162 !== "number" || VAL_162 !== 1162) fail("VAL_162"); +if (new Cls_162().tag() !== "Cls_162") fail("Cls_162"); +if (typeof VAL_163 !== "number" || VAL_163 !== 1163) fail("VAL_163"); +if (new Cls_163().tag() !== "Cls_163") fail("Cls_163"); +if (typeof VAL_164 !== "number" || VAL_164 !== 1164) fail("VAL_164"); +if (new Cls_164().tag() !== "Cls_164") fail("Cls_164"); +if (typeof VAL_165 !== "number" || VAL_165 !== 1165) fail("VAL_165"); +if (new Cls_165().tag() !== "Cls_165") fail("Cls_165"); +if (typeof VAL_166 !== "number" || VAL_166 !== 1166) fail("VAL_166"); +if (new Cls_166().tag() !== "Cls_166") fail("Cls_166"); +if (typeof VAL_167 !== "number" || VAL_167 !== 1167) fail("VAL_167"); +if (new Cls_167().tag() !== "Cls_167") fail("Cls_167"); +if (typeof VAL_168 !== "number" || VAL_168 !== 1168) fail("VAL_168"); +if (new Cls_168().tag() !== "Cls_168") fail("Cls_168"); +if (typeof VAL_169 !== "number" || VAL_169 !== 1169) fail("VAL_169"); +if (new Cls_169().tag() !== "Cls_169") fail("Cls_169"); +if (typeof VAL_170 !== "number" || VAL_170 !== 1170) fail("VAL_170"); +if (new Cls_170().tag() !== "Cls_170") fail("Cls_170"); +if (typeof VAL_171 !== "number" || VAL_171 !== 1171) fail("VAL_171"); +if (new Cls_171().tag() !== "Cls_171") fail("Cls_171"); +if (typeof VAL_172 !== "number" || VAL_172 !== 1172) fail("VAL_172"); +if (new Cls_172().tag() !== "Cls_172") fail("Cls_172"); +if (typeof VAL_173 !== "number" || VAL_173 !== 1173) fail("VAL_173"); +if (new Cls_173().tag() !== "Cls_173") fail("Cls_173"); +if (typeof VAL_174 !== "number" || VAL_174 !== 1174) fail("VAL_174"); +if (new Cls_174().tag() !== "Cls_174") fail("Cls_174"); +if (typeof VAL_175 !== "number" || VAL_175 !== 1175) fail("VAL_175"); +if (new Cls_175().tag() !== "Cls_175") fail("Cls_175"); +if (typeof VAL_176 !== "number" || VAL_176 !== 1176) fail("VAL_176"); +if (new Cls_176().tag() !== "Cls_176") fail("Cls_176"); +if (typeof VAL_177 !== "number" || VAL_177 !== 1177) fail("VAL_177"); +if (new Cls_177().tag() !== "Cls_177") fail("Cls_177"); +if (typeof VAL_178 !== "number" || VAL_178 !== 1178) fail("VAL_178"); +if (new Cls_178().tag() !== "Cls_178") fail("Cls_178"); +if (typeof VAL_179 !== "number" || VAL_179 !== 1179) fail("VAL_179"); +if (new Cls_179().tag() !== "Cls_179") fail("Cls_179"); +if (typeof VAL_180 !== "number" || VAL_180 !== 1180) fail("VAL_180"); +if (new Cls_180().tag() !== "Cls_180") fail("Cls_180"); +if (typeof VAL_181 !== "number" || VAL_181 !== 1181) fail("VAL_181"); +if (new Cls_181().tag() !== "Cls_181") fail("Cls_181"); +if (typeof VAL_182 !== "number" || VAL_182 !== 1182) fail("VAL_182"); +if (new Cls_182().tag() !== "Cls_182") fail("Cls_182"); +if (typeof VAL_183 !== "number" || VAL_183 !== 1183) fail("VAL_183"); +if (new Cls_183().tag() !== "Cls_183") fail("Cls_183"); +if (typeof VAL_184 !== "number" || VAL_184 !== 1184) fail("VAL_184"); +if (new Cls_184().tag() !== "Cls_184") fail("Cls_184"); +if (typeof VAL_185 !== "number" || VAL_185 !== 1185) fail("VAL_185"); +if (new Cls_185().tag() !== "Cls_185") fail("Cls_185"); +if (typeof VAL_186 !== "number" || VAL_186 !== 1186) fail("VAL_186"); +if (new Cls_186().tag() !== "Cls_186") fail("Cls_186"); +if (typeof VAL_187 !== "number" || VAL_187 !== 1187) fail("VAL_187"); +if (new Cls_187().tag() !== "Cls_187") fail("Cls_187"); +if (typeof VAL_188 !== "number" || VAL_188 !== 1188) fail("VAL_188"); +if (new Cls_188().tag() !== "Cls_188") fail("Cls_188"); +if (typeof VAL_189 !== "number" || VAL_189 !== 1189) fail("VAL_189"); +if (new Cls_189().tag() !== "Cls_189") fail("Cls_189"); +if (typeof VAL_190 !== "number" || VAL_190 !== 1190) fail("VAL_190"); +if (new Cls_190().tag() !== "Cls_190") fail("Cls_190"); +if (typeof VAL_191 !== "number" || VAL_191 !== 1191) fail("VAL_191"); +if (new Cls_191().tag() !== "Cls_191") fail("Cls_191"); +if (typeof VAL_192 !== "number" || VAL_192 !== 1192) fail("VAL_192"); +if (new Cls_192().tag() !== "Cls_192") fail("Cls_192"); +if (typeof VAL_193 !== "number" || VAL_193 !== 1193) fail("VAL_193"); +if (new Cls_193().tag() !== "Cls_193") fail("Cls_193"); +if (typeof VAL_194 !== "number" || VAL_194 !== 1194) fail("VAL_194"); +if (new Cls_194().tag() !== "Cls_194") fail("Cls_194"); +if (typeof VAL_195 !== "number" || VAL_195 !== 1195) fail("VAL_195"); +if (new Cls_195().tag() !== "Cls_195") fail("Cls_195"); +if (typeof VAL_196 !== "number" || VAL_196 !== 1196) fail("VAL_196"); +if (new Cls_196().tag() !== "Cls_196") fail("Cls_196"); +if (typeof VAL_197 !== "number" || VAL_197 !== 1197) fail("VAL_197"); +if (new Cls_197().tag() !== "Cls_197") fail("Cls_197"); +if (typeof VAL_198 !== "number" || VAL_198 !== 1198) fail("VAL_198"); +if (new Cls_198().tag() !== "Cls_198") fail("Cls_198"); +if (typeof VAL_199 !== "number" || VAL_199 !== 1199) fail("VAL_199"); +if (new Cls_199().tag() !== "Cls_199") fail("Cls_199"); +if (typeof VAL_200 !== "number" || VAL_200 !== 1200) fail("VAL_200"); +if (new Cls_200().tag() !== "Cls_200") fail("Cls_200"); +if (typeof VAL_201 !== "number" || VAL_201 !== 1201) fail("VAL_201"); +if (new Cls_201().tag() !== "Cls_201") fail("Cls_201"); +if (typeof VAL_202 !== "number" || VAL_202 !== 1202) fail("VAL_202"); +if (new Cls_202().tag() !== "Cls_202") fail("Cls_202"); +if (typeof VAL_203 !== "number" || VAL_203 !== 1203) fail("VAL_203"); +if (new Cls_203().tag() !== "Cls_203") fail("Cls_203"); +if (typeof VAL_204 !== "number" || VAL_204 !== 1204) fail("VAL_204"); +if (new Cls_204().tag() !== "Cls_204") fail("Cls_204"); +if (typeof VAL_205 !== "number" || VAL_205 !== 1205) fail("VAL_205"); +if (new Cls_205().tag() !== "Cls_205") fail("Cls_205"); +if (typeof VAL_206 !== "number" || VAL_206 !== 1206) fail("VAL_206"); +if (new Cls_206().tag() !== "Cls_206") fail("Cls_206"); +if (typeof VAL_207 !== "number" || VAL_207 !== 1207) fail("VAL_207"); +if (new Cls_207().tag() !== "Cls_207") fail("Cls_207"); +if (typeof VAL_208 !== "number" || VAL_208 !== 1208) fail("VAL_208"); +if (new Cls_208().tag() !== "Cls_208") fail("Cls_208"); +if (typeof VAL_209 !== "number" || VAL_209 !== 1209) fail("VAL_209"); +if (new Cls_209().tag() !== "Cls_209") fail("Cls_209"); +if (typeof VAL_210 !== "number" || VAL_210 !== 1210) fail("VAL_210"); +if (new Cls_210().tag() !== "Cls_210") fail("Cls_210"); +if (typeof VAL_211 !== "number" || VAL_211 !== 1211) fail("VAL_211"); +if (new Cls_211().tag() !== "Cls_211") fail("Cls_211"); +if (typeof VAL_212 !== "number" || VAL_212 !== 1212) fail("VAL_212"); +if (new Cls_212().tag() !== "Cls_212") fail("Cls_212"); +if (typeof VAL_213 !== "number" || VAL_213 !== 1213) fail("VAL_213"); +if (new Cls_213().tag() !== "Cls_213") fail("Cls_213"); +if (typeof VAL_214 !== "number" || VAL_214 !== 1214) fail("VAL_214"); +if (new Cls_214().tag() !== "Cls_214") fail("Cls_214"); +if (typeof VAL_215 !== "number" || VAL_215 !== 1215) fail("VAL_215"); +if (new Cls_215().tag() !== "Cls_215") fail("Cls_215"); +if (typeof VAL_216 !== "number" || VAL_216 !== 1216) fail("VAL_216"); +if (new Cls_216().tag() !== "Cls_216") fail("Cls_216"); +if (typeof VAL_217 !== "number" || VAL_217 !== 1217) fail("VAL_217"); +if (new Cls_217().tag() !== "Cls_217") fail("Cls_217"); +if (typeof VAL_218 !== "number" || VAL_218 !== 1218) fail("VAL_218"); +if (new Cls_218().tag() !== "Cls_218") fail("Cls_218"); +if (typeof VAL_219 !== "number" || VAL_219 !== 1219) fail("VAL_219"); +if (new Cls_219().tag() !== "Cls_219") fail("Cls_219"); +if (typeof VAL_220 !== "number" || VAL_220 !== 1220) fail("VAL_220"); +if (new Cls_220().tag() !== "Cls_220") fail("Cls_220"); +if (typeof VAL_221 !== "number" || VAL_221 !== 1221) fail("VAL_221"); +if (new Cls_221().tag() !== "Cls_221") fail("Cls_221"); +if (typeof VAL_222 !== "number" || VAL_222 !== 1222) fail("VAL_222"); +if (new Cls_222().tag() !== "Cls_222") fail("Cls_222"); +if (typeof VAL_223 !== "number" || VAL_223 !== 1223) fail("VAL_223"); +if (new Cls_223().tag() !== "Cls_223") fail("Cls_223"); +if (typeof VAL_224 !== "number" || VAL_224 !== 1224) fail("VAL_224"); +if (new Cls_224().tag() !== "Cls_224") fail("Cls_224"); +if (typeof VAL_225 !== "number" || VAL_225 !== 1225) fail("VAL_225"); +if (new Cls_225().tag() !== "Cls_225") fail("Cls_225"); +if (typeof VAL_226 !== "number" || VAL_226 !== 1226) fail("VAL_226"); +if (new Cls_226().tag() !== "Cls_226") fail("Cls_226"); +if (typeof VAL_227 !== "number" || VAL_227 !== 1227) fail("VAL_227"); +if (new Cls_227().tag() !== "Cls_227") fail("Cls_227"); +if (typeof VAL_228 !== "number" || VAL_228 !== 1228) fail("VAL_228"); +if (new Cls_228().tag() !== "Cls_228") fail("Cls_228"); +if (typeof VAL_229 !== "number" || VAL_229 !== 1229) fail("VAL_229"); +if (new Cls_229().tag() !== "Cls_229") fail("Cls_229"); +if (typeof VAL_230 !== "number" || VAL_230 !== 1230) fail("VAL_230"); +if (new Cls_230().tag() !== "Cls_230") fail("Cls_230"); +if (typeof VAL_231 !== "number" || VAL_231 !== 1231) fail("VAL_231"); +if (new Cls_231().tag() !== "Cls_231") fail("Cls_231"); +if (typeof VAL_232 !== "number" || VAL_232 !== 1232) fail("VAL_232"); +if (new Cls_232().tag() !== "Cls_232") fail("Cls_232"); +if (typeof VAL_233 !== "number" || VAL_233 !== 1233) fail("VAL_233"); +if (new Cls_233().tag() !== "Cls_233") fail("Cls_233"); +if (typeof VAL_234 !== "number" || VAL_234 !== 1234) fail("VAL_234"); +if (new Cls_234().tag() !== "Cls_234") fail("Cls_234"); +if (typeof VAL_235 !== "number" || VAL_235 !== 1235) fail("VAL_235"); +if (new Cls_235().tag() !== "Cls_235") fail("Cls_235"); +if (typeof VAL_236 !== "number" || VAL_236 !== 1236) fail("VAL_236"); +if (new Cls_236().tag() !== "Cls_236") fail("Cls_236"); +if (typeof VAL_237 !== "number" || VAL_237 !== 1237) fail("VAL_237"); +if (new Cls_237().tag() !== "Cls_237") fail("Cls_237"); +if (typeof VAL_238 !== "number" || VAL_238 !== 1238) fail("VAL_238"); +if (new Cls_238().tag() !== "Cls_238") fail("Cls_238"); +if (typeof VAL_239 !== "number" || VAL_239 !== 1239) fail("VAL_239"); +if (new Cls_239().tag() !== "Cls_239") fail("Cls_239"); +if (typeof VAL_240 !== "number" || VAL_240 !== 1240) fail("VAL_240"); +if (new Cls_240().tag() !== "Cls_240") fail("Cls_240"); +if (typeof VAL_241 !== "number" || VAL_241 !== 1241) fail("VAL_241"); +if (new Cls_241().tag() !== "Cls_241") fail("Cls_241"); +if (typeof VAL_242 !== "number" || VAL_242 !== 1242) fail("VAL_242"); +if (new Cls_242().tag() !== "Cls_242") fail("Cls_242"); +if (typeof VAL_243 !== "number" || VAL_243 !== 1243) fail("VAL_243"); +if (new Cls_243().tag() !== "Cls_243") fail("Cls_243"); +if (typeof VAL_244 !== "number" || VAL_244 !== 1244) fail("VAL_244"); +if (new Cls_244().tag() !== "Cls_244") fail("Cls_244"); +if (typeof VAL_245 !== "number" || VAL_245 !== 1245) fail("VAL_245"); +if (new Cls_245().tag() !== "Cls_245") fail("Cls_245"); +if (typeof VAL_246 !== "number" || VAL_246 !== 1246) fail("VAL_246"); +if (new Cls_246().tag() !== "Cls_246") fail("Cls_246"); +if (typeof VAL_247 !== "number" || VAL_247 !== 1247) fail("VAL_247"); +if (new Cls_247().tag() !== "Cls_247") fail("Cls_247"); +if (typeof VAL_248 !== "number" || VAL_248 !== 1248) fail("VAL_248"); +if (new Cls_248().tag() !== "Cls_248") fail("Cls_248"); +if (typeof VAL_249 !== "number" || VAL_249 !== 1249) fail("VAL_249"); +if (new Cls_249().tag() !== "Cls_249") fail("Cls_249"); +if (typeof VAL_250 !== "number" || VAL_250 !== 1250) fail("VAL_250"); +if (new Cls_250().tag() !== "Cls_250") fail("Cls_250"); +if (typeof VAL_251 !== "number" || VAL_251 !== 1251) fail("VAL_251"); +if (new Cls_251().tag() !== "Cls_251") fail("Cls_251"); +if (typeof VAL_252 !== "number" || VAL_252 !== 1252) fail("VAL_252"); +if (new Cls_252().tag() !== "Cls_252") fail("Cls_252"); +if (typeof VAL_253 !== "number" || VAL_253 !== 1253) fail("VAL_253"); +if (new Cls_253().tag() !== "Cls_253") fail("Cls_253"); +if (typeof VAL_254 !== "number" || VAL_254 !== 1254) fail("VAL_254"); +if (new Cls_254().tag() !== "Cls_254") fail("Cls_254"); +if (typeof VAL_255 !== "number" || VAL_255 !== 1255) fail("VAL_255"); +if (new Cls_255().tag() !== "Cls_255") fail("Cls_255"); +if (typeof VAL_256 !== "number" || VAL_256 !== 1256) fail("VAL_256"); +if (new Cls_256().tag() !== "Cls_256") fail("Cls_256"); +if (typeof VAL_257 !== "number" || VAL_257 !== 1257) fail("VAL_257"); +if (new Cls_257().tag() !== "Cls_257") fail("Cls_257"); +if (typeof VAL_258 !== "number" || VAL_258 !== 1258) fail("VAL_258"); +if (new Cls_258().tag() !== "Cls_258") fail("Cls_258"); +if (typeof VAL_259 !== "number" || VAL_259 !== 1259) fail("VAL_259"); +if (new Cls_259().tag() !== "Cls_259") fail("Cls_259"); +if (typeof VAL_260 !== "number" || VAL_260 !== 1260) fail("VAL_260"); +if (new Cls_260().tag() !== "Cls_260") fail("Cls_260"); +if (typeof VAL_261 !== "number" || VAL_261 !== 1261) fail("VAL_261"); +if (new Cls_261().tag() !== "Cls_261") fail("Cls_261"); +if (typeof VAL_262 !== "number" || VAL_262 !== 1262) fail("VAL_262"); +if (new Cls_262().tag() !== "Cls_262") fail("Cls_262"); +if (typeof VAL_263 !== "number" || VAL_263 !== 1263) fail("VAL_263"); +if (new Cls_263().tag() !== "Cls_263") fail("Cls_263"); +if (typeof VAL_264 !== "number" || VAL_264 !== 1264) fail("VAL_264"); +if (new Cls_264().tag() !== "Cls_264") fail("Cls_264"); +if (typeof VAL_265 !== "number" || VAL_265 !== 1265) fail("VAL_265"); +if (new Cls_265().tag() !== "Cls_265") fail("Cls_265"); +if (typeof VAL_266 !== "number" || VAL_266 !== 1266) fail("VAL_266"); +if (new Cls_266().tag() !== "Cls_266") fail("Cls_266"); +if (typeof VAL_267 !== "number" || VAL_267 !== 1267) fail("VAL_267"); +if (new Cls_267().tag() !== "Cls_267") fail("Cls_267"); +if (typeof VAL_268 !== "number" || VAL_268 !== 1268) fail("VAL_268"); +if (new Cls_268().tag() !== "Cls_268") fail("Cls_268"); +if (typeof VAL_269 !== "number" || VAL_269 !== 1269) fail("VAL_269"); +if (new Cls_269().tag() !== "Cls_269") fail("Cls_269"); +if (typeof VAL_270 !== "number" || VAL_270 !== 1270) fail("VAL_270"); +if (new Cls_270().tag() !== "Cls_270") fail("Cls_270"); +if (typeof VAL_271 !== "number" || VAL_271 !== 1271) fail("VAL_271"); +if (new Cls_271().tag() !== "Cls_271") fail("Cls_271"); +if (typeof VAL_272 !== "number" || VAL_272 !== 1272) fail("VAL_272"); +if (new Cls_272().tag() !== "Cls_272") fail("Cls_272"); +if (typeof VAL_273 !== "number" || VAL_273 !== 1273) fail("VAL_273"); +if (new Cls_273().tag() !== "Cls_273") fail("Cls_273"); +if (typeof VAL_274 !== "number" || VAL_274 !== 1274) fail("VAL_274"); +if (new Cls_274().tag() !== "Cls_274") fail("Cls_274"); +if (typeof VAL_275 !== "number" || VAL_275 !== 1275) fail("VAL_275"); +if (new Cls_275().tag() !== "Cls_275") fail("Cls_275"); +if (typeof VAL_276 !== "number" || VAL_276 !== 1276) fail("VAL_276"); +if (new Cls_276().tag() !== "Cls_276") fail("Cls_276"); +if (typeof VAL_277 !== "number" || VAL_277 !== 1277) fail("VAL_277"); +if (new Cls_277().tag() !== "Cls_277") fail("Cls_277"); +if (typeof VAL_278 !== "number" || VAL_278 !== 1278) fail("VAL_278"); +if (new Cls_278().tag() !== "Cls_278") fail("Cls_278"); +if (typeof VAL_279 !== "number" || VAL_279 !== 1279) fail("VAL_279"); +if (new Cls_279().tag() !== "Cls_279") fail("Cls_279"); +if (typeof VAL_280 !== "number" || VAL_280 !== 1280) fail("VAL_280"); +if (new Cls_280().tag() !== "Cls_280") fail("Cls_280"); +if (typeof VAL_281 !== "number" || VAL_281 !== 1281) fail("VAL_281"); +if (new Cls_281().tag() !== "Cls_281") fail("Cls_281"); +if (typeof VAL_282 !== "number" || VAL_282 !== 1282) fail("VAL_282"); +if (new Cls_282().tag() !== "Cls_282") fail("Cls_282"); +if (typeof VAL_283 !== "number" || VAL_283 !== 1283) fail("VAL_283"); +if (new Cls_283().tag() !== "Cls_283") fail("Cls_283"); +if (typeof VAL_284 !== "number" || VAL_284 !== 1284) fail("VAL_284"); +if (new Cls_284().tag() !== "Cls_284") fail("Cls_284"); +if (typeof VAL_285 !== "number" || VAL_285 !== 1285) fail("VAL_285"); +if (new Cls_285().tag() !== "Cls_285") fail("Cls_285"); +if (typeof VAL_286 !== "number" || VAL_286 !== 1286) fail("VAL_286"); +if (new Cls_286().tag() !== "Cls_286") fail("Cls_286"); +if (typeof VAL_287 !== "number" || VAL_287 !== 1287) fail("VAL_287"); +if (new Cls_287().tag() !== "Cls_287") fail("Cls_287"); +if (typeof VAL_288 !== "number" || VAL_288 !== 1288) fail("VAL_288"); +if (new Cls_288().tag() !== "Cls_288") fail("Cls_288"); +if (typeof VAL_289 !== "number" || VAL_289 !== 1289) fail("VAL_289"); +if (new Cls_289().tag() !== "Cls_289") fail("Cls_289"); +if (typeof VAL_290 !== "number" || VAL_290 !== 1290) fail("VAL_290"); +if (new Cls_290().tag() !== "Cls_290") fail("Cls_290"); +if (typeof VAL_291 !== "number" || VAL_291 !== 1291) fail("VAL_291"); +if (new Cls_291().tag() !== "Cls_291") fail("Cls_291"); +if (typeof VAL_292 !== "number" || VAL_292 !== 1292) fail("VAL_292"); +if (new Cls_292().tag() !== "Cls_292") fail("Cls_292"); +if (typeof VAL_293 !== "number" || VAL_293 !== 1293) fail("VAL_293"); +if (new Cls_293().tag() !== "Cls_293") fail("Cls_293"); +if (typeof VAL_294 !== "number" || VAL_294 !== 1294) fail("VAL_294"); +if (new Cls_294().tag() !== "Cls_294") fail("Cls_294"); +if (typeof VAL_295 !== "number" || VAL_295 !== 1295) fail("VAL_295"); +if (new Cls_295().tag() !== "Cls_295") fail("Cls_295"); +if (typeof VAL_296 !== "number" || VAL_296 !== 1296) fail("VAL_296"); +if (new Cls_296().tag() !== "Cls_296") fail("Cls_296"); +if (typeof VAL_297 !== "number" || VAL_297 !== 1297) fail("VAL_297"); +if (new Cls_297().tag() !== "Cls_297") fail("Cls_297"); +if (typeof VAL_298 !== "number" || VAL_298 !== 1298) fail("VAL_298"); +if (new Cls_298().tag() !== "Cls_298") fail("Cls_298"); +if (typeof VAL_299 !== "number" || VAL_299 !== 1299) fail("VAL_299"); +if (new Cls_299().tag() !== "Cls_299") fail("Cls_299"); + +if (failures === 0) { + console.log("init-scale: OK (300 modules)"); +} else { + console.log("init-scale: FAIL first=" + first_fail + " total=" + failures); +} diff --git a/test-files/multi/test_harness_init_scale/m000.ts b/test-files/multi/test_harness_init_scale/m000.ts new file mode 100644 index 000000000..77ee5d54b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m000.ts @@ -0,0 +1,17 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #000 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +// (m000 has no predecessor — the chain starts here.) +export const VAL_000: number = 1000; + +export class Cls_000 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_000` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_000"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m001.ts b/test-files/multi/test_harness_init_scale/m001.ts new file mode 100644 index 000000000..1d104787e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m001.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #001 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_000 } from "./m000"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_001: number = VAL_000 + 1; +if (_chain_001 < 0) throw new Error("chain check"); +export const VAL_001: number = 1001; + +export class Cls_001 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_001` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_001"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m002.ts b/test-files/multi/test_harness_init_scale/m002.ts new file mode 100644 index 000000000..6ef437524 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m002.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #002 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_001 } from "./m001"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_002: number = VAL_001 + 1; +if (_chain_002 < 0) throw new Error("chain check"); +export const VAL_002: number = 1002; + +export class Cls_002 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_002` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_002"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m003.ts b/test-files/multi/test_harness_init_scale/m003.ts new file mode 100644 index 000000000..b1ff7612b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m003.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #003 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_002 } from "./m002"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_003: number = VAL_002 + 1; +if (_chain_003 < 0) throw new Error("chain check"); +export const VAL_003: number = 1003; + +export class Cls_003 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_003` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_003"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m004.ts b/test-files/multi/test_harness_init_scale/m004.ts new file mode 100644 index 000000000..89fc094c3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m004.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #004 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_003 } from "./m003"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_004: number = VAL_003 + 1; +if (_chain_004 < 0) throw new Error("chain check"); +export const VAL_004: number = 1004; + +export class Cls_004 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_004` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_004"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m005.ts b/test-files/multi/test_harness_init_scale/m005.ts new file mode 100644 index 000000000..bbd8b625e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m005.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #005 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_004 } from "./m004"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_005: number = VAL_004 + 1; +if (_chain_005 < 0) throw new Error("chain check"); +export const VAL_005: number = 1005; + +export class Cls_005 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_005` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_005"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m006.ts b/test-files/multi/test_harness_init_scale/m006.ts new file mode 100644 index 000000000..c75c22ae3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m006.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #006 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_005 } from "./m005"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_006: number = VAL_005 + 1; +if (_chain_006 < 0) throw new Error("chain check"); +export const VAL_006: number = 1006; + +export class Cls_006 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_006` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_006"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m007.ts b/test-files/multi/test_harness_init_scale/m007.ts new file mode 100644 index 000000000..f99f001d2 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m007.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #007 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_006 } from "./m006"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_007: number = VAL_006 + 1; +if (_chain_007 < 0) throw new Error("chain check"); +export const VAL_007: number = 1007; + +export class Cls_007 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_007` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_007"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m008.ts b/test-files/multi/test_harness_init_scale/m008.ts new file mode 100644 index 000000000..0eeb7c140 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m008.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #008 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_007 } from "./m007"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_008: number = VAL_007 + 1; +if (_chain_008 < 0) throw new Error("chain check"); +export const VAL_008: number = 1008; + +export class Cls_008 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_008` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_008"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m009.ts b/test-files/multi/test_harness_init_scale/m009.ts new file mode 100644 index 000000000..56908c39e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m009.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #009 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_008 } from "./m008"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_009: number = VAL_008 + 1; +if (_chain_009 < 0) throw new Error("chain check"); +export const VAL_009: number = 1009; + +export class Cls_009 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_009` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_009"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m010.ts b/test-files/multi/test_harness_init_scale/m010.ts new file mode 100644 index 000000000..61cd75796 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m010.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #010 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_009 } from "./m009"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_010: number = VAL_009 + 1; +if (_chain_010 < 0) throw new Error("chain check"); +export const VAL_010: number = 1010; + +export class Cls_010 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_010` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_010"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m011.ts b/test-files/multi/test_harness_init_scale/m011.ts new file mode 100644 index 000000000..a4141bffb --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m011.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #011 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_010 } from "./m010"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_011: number = VAL_010 + 1; +if (_chain_011 < 0) throw new Error("chain check"); +export const VAL_011: number = 1011; + +export class Cls_011 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_011` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_011"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m012.ts b/test-files/multi/test_harness_init_scale/m012.ts new file mode 100644 index 000000000..71eedec04 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m012.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #012 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_011 } from "./m011"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_012: number = VAL_011 + 1; +if (_chain_012 < 0) throw new Error("chain check"); +export const VAL_012: number = 1012; + +export class Cls_012 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_012` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_012"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m013.ts b/test-files/multi/test_harness_init_scale/m013.ts new file mode 100644 index 000000000..b9b832337 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m013.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #013 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_012 } from "./m012"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_013: number = VAL_012 + 1; +if (_chain_013 < 0) throw new Error("chain check"); +export const VAL_013: number = 1013; + +export class Cls_013 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_013` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_013"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m014.ts b/test-files/multi/test_harness_init_scale/m014.ts new file mode 100644 index 000000000..28ee68ffe --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m014.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #014 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_013 } from "./m013"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_014: number = VAL_013 + 1; +if (_chain_014 < 0) throw new Error("chain check"); +export const VAL_014: number = 1014; + +export class Cls_014 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_014` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_014"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m015.ts b/test-files/multi/test_harness_init_scale/m015.ts new file mode 100644 index 000000000..b5a201538 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m015.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #015 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_014 } from "./m014"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_015: number = VAL_014 + 1; +if (_chain_015 < 0) throw new Error("chain check"); +export const VAL_015: number = 1015; + +export class Cls_015 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_015` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_015"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m016.ts b/test-files/multi/test_harness_init_scale/m016.ts new file mode 100644 index 000000000..c8eedb2a8 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m016.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #016 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_015 } from "./m015"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_016: number = VAL_015 + 1; +if (_chain_016 < 0) throw new Error("chain check"); +export const VAL_016: number = 1016; + +export class Cls_016 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_016` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_016"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m017.ts b/test-files/multi/test_harness_init_scale/m017.ts new file mode 100644 index 000000000..91d6a0256 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m017.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #017 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_016 } from "./m016"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_017: number = VAL_016 + 1; +if (_chain_017 < 0) throw new Error("chain check"); +export const VAL_017: number = 1017; + +export class Cls_017 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_017` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_017"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m018.ts b/test-files/multi/test_harness_init_scale/m018.ts new file mode 100644 index 000000000..b488df66f --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m018.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #018 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_017 } from "./m017"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_018: number = VAL_017 + 1; +if (_chain_018 < 0) throw new Error("chain check"); +export const VAL_018: number = 1018; + +export class Cls_018 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_018` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_018"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m019.ts b/test-files/multi/test_harness_init_scale/m019.ts new file mode 100644 index 000000000..dbeeb67c9 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m019.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #019 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_018 } from "./m018"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_019: number = VAL_018 + 1; +if (_chain_019 < 0) throw new Error("chain check"); +export const VAL_019: number = 1019; + +export class Cls_019 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_019` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_019"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m020.ts b/test-files/multi/test_harness_init_scale/m020.ts new file mode 100644 index 000000000..944bc8133 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m020.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #020 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_019 } from "./m019"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_020: number = VAL_019 + 1; +if (_chain_020 < 0) throw new Error("chain check"); +export const VAL_020: number = 1020; + +export class Cls_020 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_020` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_020"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m021.ts b/test-files/multi/test_harness_init_scale/m021.ts new file mode 100644 index 000000000..b5cd08d28 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m021.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #021 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_020 } from "./m020"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_021: number = VAL_020 + 1; +if (_chain_021 < 0) throw new Error("chain check"); +export const VAL_021: number = 1021; + +export class Cls_021 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_021` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_021"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m022.ts b/test-files/multi/test_harness_init_scale/m022.ts new file mode 100644 index 000000000..121ab625a --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m022.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #022 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_021 } from "./m021"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_022: number = VAL_021 + 1; +if (_chain_022 < 0) throw new Error("chain check"); +export const VAL_022: number = 1022; + +export class Cls_022 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_022` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_022"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m023.ts b/test-files/multi/test_harness_init_scale/m023.ts new file mode 100644 index 000000000..e0b9910a3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m023.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #023 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_022 } from "./m022"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_023: number = VAL_022 + 1; +if (_chain_023 < 0) throw new Error("chain check"); +export const VAL_023: number = 1023; + +export class Cls_023 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_023` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_023"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m024.ts b/test-files/multi/test_harness_init_scale/m024.ts new file mode 100644 index 000000000..27a556759 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m024.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #024 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_023 } from "./m023"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_024: number = VAL_023 + 1; +if (_chain_024 < 0) throw new Error("chain check"); +export const VAL_024: number = 1024; + +export class Cls_024 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_024` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_024"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m025.ts b/test-files/multi/test_harness_init_scale/m025.ts new file mode 100644 index 000000000..40b524fee --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m025.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #025 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_024 } from "./m024"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_025: number = VAL_024 + 1; +if (_chain_025 < 0) throw new Error("chain check"); +export const VAL_025: number = 1025; + +export class Cls_025 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_025` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_025"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m026.ts b/test-files/multi/test_harness_init_scale/m026.ts new file mode 100644 index 000000000..58375f788 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m026.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #026 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_025 } from "./m025"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_026: number = VAL_025 + 1; +if (_chain_026 < 0) throw new Error("chain check"); +export const VAL_026: number = 1026; + +export class Cls_026 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_026` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_026"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m027.ts b/test-files/multi/test_harness_init_scale/m027.ts new file mode 100644 index 000000000..7149ddebb --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m027.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #027 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_026 } from "./m026"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_027: number = VAL_026 + 1; +if (_chain_027 < 0) throw new Error("chain check"); +export const VAL_027: number = 1027; + +export class Cls_027 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_027` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_027"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m028.ts b/test-files/multi/test_harness_init_scale/m028.ts new file mode 100644 index 000000000..e882d93a4 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m028.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #028 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_027 } from "./m027"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_028: number = VAL_027 + 1; +if (_chain_028 < 0) throw new Error("chain check"); +export const VAL_028: number = 1028; + +export class Cls_028 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_028` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_028"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m029.ts b/test-files/multi/test_harness_init_scale/m029.ts new file mode 100644 index 000000000..79a80af26 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m029.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #029 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_028 } from "./m028"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_029: number = VAL_028 + 1; +if (_chain_029 < 0) throw new Error("chain check"); +export const VAL_029: number = 1029; + +export class Cls_029 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_029` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_029"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m030.ts b/test-files/multi/test_harness_init_scale/m030.ts new file mode 100644 index 000000000..931c12860 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m030.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #030 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_029 } from "./m029"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_030: number = VAL_029 + 1; +if (_chain_030 < 0) throw new Error("chain check"); +export const VAL_030: number = 1030; + +export class Cls_030 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_030` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_030"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m031.ts b/test-files/multi/test_harness_init_scale/m031.ts new file mode 100644 index 000000000..e90f801c4 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m031.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #031 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_030 } from "./m030"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_031: number = VAL_030 + 1; +if (_chain_031 < 0) throw new Error("chain check"); +export const VAL_031: number = 1031; + +export class Cls_031 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_031` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_031"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m032.ts b/test-files/multi/test_harness_init_scale/m032.ts new file mode 100644 index 000000000..12079fbf0 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m032.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #032 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_031 } from "./m031"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_032: number = VAL_031 + 1; +if (_chain_032 < 0) throw new Error("chain check"); +export const VAL_032: number = 1032; + +export class Cls_032 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_032` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_032"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m033.ts b/test-files/multi/test_harness_init_scale/m033.ts new file mode 100644 index 000000000..d316b0ca1 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m033.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #033 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_032 } from "./m032"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_033: number = VAL_032 + 1; +if (_chain_033 < 0) throw new Error("chain check"); +export const VAL_033: number = 1033; + +export class Cls_033 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_033` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_033"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m034.ts b/test-files/multi/test_harness_init_scale/m034.ts new file mode 100644 index 000000000..907c4cad6 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m034.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #034 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_033 } from "./m033"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_034: number = VAL_033 + 1; +if (_chain_034 < 0) throw new Error("chain check"); +export const VAL_034: number = 1034; + +export class Cls_034 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_034` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_034"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m035.ts b/test-files/multi/test_harness_init_scale/m035.ts new file mode 100644 index 000000000..a1af59ffa --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m035.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #035 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_034 } from "./m034"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_035: number = VAL_034 + 1; +if (_chain_035 < 0) throw new Error("chain check"); +export const VAL_035: number = 1035; + +export class Cls_035 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_035` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_035"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m036.ts b/test-files/multi/test_harness_init_scale/m036.ts new file mode 100644 index 000000000..c70961744 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m036.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #036 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_035 } from "./m035"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_036: number = VAL_035 + 1; +if (_chain_036 < 0) throw new Error("chain check"); +export const VAL_036: number = 1036; + +export class Cls_036 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_036` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_036"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m037.ts b/test-files/multi/test_harness_init_scale/m037.ts new file mode 100644 index 000000000..02eeebcf6 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m037.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #037 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_036 } from "./m036"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_037: number = VAL_036 + 1; +if (_chain_037 < 0) throw new Error("chain check"); +export const VAL_037: number = 1037; + +export class Cls_037 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_037` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_037"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m038.ts b/test-files/multi/test_harness_init_scale/m038.ts new file mode 100644 index 000000000..62e6f4a16 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m038.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #038 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_037 } from "./m037"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_038: number = VAL_037 + 1; +if (_chain_038 < 0) throw new Error("chain check"); +export const VAL_038: number = 1038; + +export class Cls_038 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_038` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_038"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m039.ts b/test-files/multi/test_harness_init_scale/m039.ts new file mode 100644 index 000000000..92c643cc0 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m039.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #039 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_038 } from "./m038"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_039: number = VAL_038 + 1; +if (_chain_039 < 0) throw new Error("chain check"); +export const VAL_039: number = 1039; + +export class Cls_039 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_039` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_039"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m040.ts b/test-files/multi/test_harness_init_scale/m040.ts new file mode 100644 index 000000000..89fb930a0 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m040.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #040 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_039 } from "./m039"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_040: number = VAL_039 + 1; +if (_chain_040 < 0) throw new Error("chain check"); +export const VAL_040: number = 1040; + +export class Cls_040 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_040` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_040"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m041.ts b/test-files/multi/test_harness_init_scale/m041.ts new file mode 100644 index 000000000..78c765cf2 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m041.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #041 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_040 } from "./m040"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_041: number = VAL_040 + 1; +if (_chain_041 < 0) throw new Error("chain check"); +export const VAL_041: number = 1041; + +export class Cls_041 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_041` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_041"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m042.ts b/test-files/multi/test_harness_init_scale/m042.ts new file mode 100644 index 000000000..2175ba266 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m042.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #042 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_041 } from "./m041"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_042: number = VAL_041 + 1; +if (_chain_042 < 0) throw new Error("chain check"); +export const VAL_042: number = 1042; + +export class Cls_042 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_042` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_042"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m043.ts b/test-files/multi/test_harness_init_scale/m043.ts new file mode 100644 index 000000000..66dbbc727 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m043.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #043 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_042 } from "./m042"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_043: number = VAL_042 + 1; +if (_chain_043 < 0) throw new Error("chain check"); +export const VAL_043: number = 1043; + +export class Cls_043 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_043` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_043"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m044.ts b/test-files/multi/test_harness_init_scale/m044.ts new file mode 100644 index 000000000..cf147c96f --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m044.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #044 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_043 } from "./m043"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_044: number = VAL_043 + 1; +if (_chain_044 < 0) throw new Error("chain check"); +export const VAL_044: number = 1044; + +export class Cls_044 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_044` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_044"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m045.ts b/test-files/multi/test_harness_init_scale/m045.ts new file mode 100644 index 000000000..50c1f2827 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m045.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #045 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_044 } from "./m044"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_045: number = VAL_044 + 1; +if (_chain_045 < 0) throw new Error("chain check"); +export const VAL_045: number = 1045; + +export class Cls_045 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_045` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_045"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m046.ts b/test-files/multi/test_harness_init_scale/m046.ts new file mode 100644 index 000000000..42d958126 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m046.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #046 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_045 } from "./m045"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_046: number = VAL_045 + 1; +if (_chain_046 < 0) throw new Error("chain check"); +export const VAL_046: number = 1046; + +export class Cls_046 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_046` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_046"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m047.ts b/test-files/multi/test_harness_init_scale/m047.ts new file mode 100644 index 000000000..52d36c5f2 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m047.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #047 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_046 } from "./m046"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_047: number = VAL_046 + 1; +if (_chain_047 < 0) throw new Error("chain check"); +export const VAL_047: number = 1047; + +export class Cls_047 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_047` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_047"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m048.ts b/test-files/multi/test_harness_init_scale/m048.ts new file mode 100644 index 000000000..c3a96f816 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m048.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #048 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_047 } from "./m047"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_048: number = VAL_047 + 1; +if (_chain_048 < 0) throw new Error("chain check"); +export const VAL_048: number = 1048; + +export class Cls_048 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_048` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_048"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m049.ts b/test-files/multi/test_harness_init_scale/m049.ts new file mode 100644 index 000000000..2a118dd3f --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m049.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #049 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_048 } from "./m048"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_049: number = VAL_048 + 1; +if (_chain_049 < 0) throw new Error("chain check"); +export const VAL_049: number = 1049; + +export class Cls_049 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_049` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_049"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m050.ts b/test-files/multi/test_harness_init_scale/m050.ts new file mode 100644 index 000000000..b48519978 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m050.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #050 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_049 } from "./m049"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_050: number = VAL_049 + 1; +if (_chain_050 < 0) throw new Error("chain check"); +export const VAL_050: number = 1050; + +export class Cls_050 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_050` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_050"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m051.ts b/test-files/multi/test_harness_init_scale/m051.ts new file mode 100644 index 000000000..b6742301e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m051.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #051 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_050 } from "./m050"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_051: number = VAL_050 + 1; +if (_chain_051 < 0) throw new Error("chain check"); +export const VAL_051: number = 1051; + +export class Cls_051 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_051` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_051"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m052.ts b/test-files/multi/test_harness_init_scale/m052.ts new file mode 100644 index 000000000..9f11c52c8 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m052.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #052 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_051 } from "./m051"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_052: number = VAL_051 + 1; +if (_chain_052 < 0) throw new Error("chain check"); +export const VAL_052: number = 1052; + +export class Cls_052 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_052` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_052"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m053.ts b/test-files/multi/test_harness_init_scale/m053.ts new file mode 100644 index 000000000..f26c20d52 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m053.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #053 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_052 } from "./m052"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_053: number = VAL_052 + 1; +if (_chain_053 < 0) throw new Error("chain check"); +export const VAL_053: number = 1053; + +export class Cls_053 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_053` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_053"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m054.ts b/test-files/multi/test_harness_init_scale/m054.ts new file mode 100644 index 000000000..7cad19659 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m054.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #054 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_053 } from "./m053"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_054: number = VAL_053 + 1; +if (_chain_054 < 0) throw new Error("chain check"); +export const VAL_054: number = 1054; + +export class Cls_054 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_054` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_054"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m055.ts b/test-files/multi/test_harness_init_scale/m055.ts new file mode 100644 index 000000000..7aaf593ec --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m055.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #055 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_054 } from "./m054"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_055: number = VAL_054 + 1; +if (_chain_055 < 0) throw new Error("chain check"); +export const VAL_055: number = 1055; + +export class Cls_055 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_055` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_055"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m056.ts b/test-files/multi/test_harness_init_scale/m056.ts new file mode 100644 index 000000000..fe9cc9e6c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m056.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #056 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_055 } from "./m055"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_056: number = VAL_055 + 1; +if (_chain_056 < 0) throw new Error("chain check"); +export const VAL_056: number = 1056; + +export class Cls_056 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_056` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_056"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m057.ts b/test-files/multi/test_harness_init_scale/m057.ts new file mode 100644 index 000000000..82722f388 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m057.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #057 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_056 } from "./m056"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_057: number = VAL_056 + 1; +if (_chain_057 < 0) throw new Error("chain check"); +export const VAL_057: number = 1057; + +export class Cls_057 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_057` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_057"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m058.ts b/test-files/multi/test_harness_init_scale/m058.ts new file mode 100644 index 000000000..d93f19ed4 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m058.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #058 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_057 } from "./m057"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_058: number = VAL_057 + 1; +if (_chain_058 < 0) throw new Error("chain check"); +export const VAL_058: number = 1058; + +export class Cls_058 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_058` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_058"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m059.ts b/test-files/multi/test_harness_init_scale/m059.ts new file mode 100644 index 000000000..02d32550a --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m059.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #059 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_058 } from "./m058"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_059: number = VAL_058 + 1; +if (_chain_059 < 0) throw new Error("chain check"); +export const VAL_059: number = 1059; + +export class Cls_059 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_059` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_059"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m060.ts b/test-files/multi/test_harness_init_scale/m060.ts new file mode 100644 index 000000000..65b2251a3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m060.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #060 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_059 } from "./m059"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_060: number = VAL_059 + 1; +if (_chain_060 < 0) throw new Error("chain check"); +export const VAL_060: number = 1060; + +export class Cls_060 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_060` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_060"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m061.ts b/test-files/multi/test_harness_init_scale/m061.ts new file mode 100644 index 000000000..b011b5a1f --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m061.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #061 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_060 } from "./m060"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_061: number = VAL_060 + 1; +if (_chain_061 < 0) throw new Error("chain check"); +export const VAL_061: number = 1061; + +export class Cls_061 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_061` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_061"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m062.ts b/test-files/multi/test_harness_init_scale/m062.ts new file mode 100644 index 000000000..01aff5802 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m062.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #062 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_061 } from "./m061"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_062: number = VAL_061 + 1; +if (_chain_062 < 0) throw new Error("chain check"); +export const VAL_062: number = 1062; + +export class Cls_062 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_062` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_062"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m063.ts b/test-files/multi/test_harness_init_scale/m063.ts new file mode 100644 index 000000000..460cce511 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m063.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #063 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_062 } from "./m062"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_063: number = VAL_062 + 1; +if (_chain_063 < 0) throw new Error("chain check"); +export const VAL_063: number = 1063; + +export class Cls_063 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_063` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_063"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m064.ts b/test-files/multi/test_harness_init_scale/m064.ts new file mode 100644 index 000000000..1ff927e15 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m064.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #064 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_063 } from "./m063"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_064: number = VAL_063 + 1; +if (_chain_064 < 0) throw new Error("chain check"); +export const VAL_064: number = 1064; + +export class Cls_064 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_064` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_064"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m065.ts b/test-files/multi/test_harness_init_scale/m065.ts new file mode 100644 index 000000000..436a9b216 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m065.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #065 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_064 } from "./m064"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_065: number = VAL_064 + 1; +if (_chain_065 < 0) throw new Error("chain check"); +export const VAL_065: number = 1065; + +export class Cls_065 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_065` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_065"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m066.ts b/test-files/multi/test_harness_init_scale/m066.ts new file mode 100644 index 000000000..cdcb756c0 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m066.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #066 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_065 } from "./m065"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_066: number = VAL_065 + 1; +if (_chain_066 < 0) throw new Error("chain check"); +export const VAL_066: number = 1066; + +export class Cls_066 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_066` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_066"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m067.ts b/test-files/multi/test_harness_init_scale/m067.ts new file mode 100644 index 000000000..5220ab4b6 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m067.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #067 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_066 } from "./m066"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_067: number = VAL_066 + 1; +if (_chain_067 < 0) throw new Error("chain check"); +export const VAL_067: number = 1067; + +export class Cls_067 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_067` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_067"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m068.ts b/test-files/multi/test_harness_init_scale/m068.ts new file mode 100644 index 000000000..de3e9362e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m068.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #068 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_067 } from "./m067"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_068: number = VAL_067 + 1; +if (_chain_068 < 0) throw new Error("chain check"); +export const VAL_068: number = 1068; + +export class Cls_068 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_068` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_068"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m069.ts b/test-files/multi/test_harness_init_scale/m069.ts new file mode 100644 index 000000000..f659aead1 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m069.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #069 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_068 } from "./m068"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_069: number = VAL_068 + 1; +if (_chain_069 < 0) throw new Error("chain check"); +export const VAL_069: number = 1069; + +export class Cls_069 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_069` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_069"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m070.ts b/test-files/multi/test_harness_init_scale/m070.ts new file mode 100644 index 000000000..b43d45088 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m070.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #070 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_069 } from "./m069"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_070: number = VAL_069 + 1; +if (_chain_070 < 0) throw new Error("chain check"); +export const VAL_070: number = 1070; + +export class Cls_070 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_070` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_070"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m071.ts b/test-files/multi/test_harness_init_scale/m071.ts new file mode 100644 index 000000000..8d7ee99b2 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m071.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #071 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_070 } from "./m070"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_071: number = VAL_070 + 1; +if (_chain_071 < 0) throw new Error("chain check"); +export const VAL_071: number = 1071; + +export class Cls_071 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_071` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_071"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m072.ts b/test-files/multi/test_harness_init_scale/m072.ts new file mode 100644 index 000000000..58776ff98 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m072.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #072 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_071 } from "./m071"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_072: number = VAL_071 + 1; +if (_chain_072 < 0) throw new Error("chain check"); +export const VAL_072: number = 1072; + +export class Cls_072 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_072` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_072"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m073.ts b/test-files/multi/test_harness_init_scale/m073.ts new file mode 100644 index 000000000..616567040 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m073.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #073 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_072 } from "./m072"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_073: number = VAL_072 + 1; +if (_chain_073 < 0) throw new Error("chain check"); +export const VAL_073: number = 1073; + +export class Cls_073 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_073` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_073"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m074.ts b/test-files/multi/test_harness_init_scale/m074.ts new file mode 100644 index 000000000..4b0423d79 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m074.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #074 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_073 } from "./m073"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_074: number = VAL_073 + 1; +if (_chain_074 < 0) throw new Error("chain check"); +export const VAL_074: number = 1074; + +export class Cls_074 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_074` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_074"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m075.ts b/test-files/multi/test_harness_init_scale/m075.ts new file mode 100644 index 000000000..4d5e49a5e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m075.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #075 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_074 } from "./m074"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_075: number = VAL_074 + 1; +if (_chain_075 < 0) throw new Error("chain check"); +export const VAL_075: number = 1075; + +export class Cls_075 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_075` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_075"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m076.ts b/test-files/multi/test_harness_init_scale/m076.ts new file mode 100644 index 000000000..5134af34e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m076.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #076 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_075 } from "./m075"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_076: number = VAL_075 + 1; +if (_chain_076 < 0) throw new Error("chain check"); +export const VAL_076: number = 1076; + +export class Cls_076 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_076` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_076"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m077.ts b/test-files/multi/test_harness_init_scale/m077.ts new file mode 100644 index 000000000..a25107525 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m077.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #077 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_076 } from "./m076"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_077: number = VAL_076 + 1; +if (_chain_077 < 0) throw new Error("chain check"); +export const VAL_077: number = 1077; + +export class Cls_077 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_077` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_077"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m078.ts b/test-files/multi/test_harness_init_scale/m078.ts new file mode 100644 index 000000000..d29ee5898 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m078.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #078 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_077 } from "./m077"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_078: number = VAL_077 + 1; +if (_chain_078 < 0) throw new Error("chain check"); +export const VAL_078: number = 1078; + +export class Cls_078 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_078` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_078"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m079.ts b/test-files/multi/test_harness_init_scale/m079.ts new file mode 100644 index 000000000..063ff19f3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m079.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #079 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_078 } from "./m078"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_079: number = VAL_078 + 1; +if (_chain_079 < 0) throw new Error("chain check"); +export const VAL_079: number = 1079; + +export class Cls_079 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_079` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_079"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m080.ts b/test-files/multi/test_harness_init_scale/m080.ts new file mode 100644 index 000000000..ab91e7ade --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m080.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #080 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_079 } from "./m079"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_080: number = VAL_079 + 1; +if (_chain_080 < 0) throw new Error("chain check"); +export const VAL_080: number = 1080; + +export class Cls_080 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_080` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_080"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m081.ts b/test-files/multi/test_harness_init_scale/m081.ts new file mode 100644 index 000000000..2684e5847 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m081.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #081 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_080 } from "./m080"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_081: number = VAL_080 + 1; +if (_chain_081 < 0) throw new Error("chain check"); +export const VAL_081: number = 1081; + +export class Cls_081 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_081` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_081"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m082.ts b/test-files/multi/test_harness_init_scale/m082.ts new file mode 100644 index 000000000..bb620f99c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m082.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #082 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_081 } from "./m081"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_082: number = VAL_081 + 1; +if (_chain_082 < 0) throw new Error("chain check"); +export const VAL_082: number = 1082; + +export class Cls_082 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_082` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_082"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m083.ts b/test-files/multi/test_harness_init_scale/m083.ts new file mode 100644 index 000000000..c31b0901f --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m083.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #083 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_082 } from "./m082"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_083: number = VAL_082 + 1; +if (_chain_083 < 0) throw new Error("chain check"); +export const VAL_083: number = 1083; + +export class Cls_083 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_083` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_083"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m084.ts b/test-files/multi/test_harness_init_scale/m084.ts new file mode 100644 index 000000000..23b9ded2c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m084.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #084 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_083 } from "./m083"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_084: number = VAL_083 + 1; +if (_chain_084 < 0) throw new Error("chain check"); +export const VAL_084: number = 1084; + +export class Cls_084 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_084` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_084"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m085.ts b/test-files/multi/test_harness_init_scale/m085.ts new file mode 100644 index 000000000..021a15c7c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m085.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #085 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_084 } from "./m084"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_085: number = VAL_084 + 1; +if (_chain_085 < 0) throw new Error("chain check"); +export const VAL_085: number = 1085; + +export class Cls_085 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_085` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_085"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m086.ts b/test-files/multi/test_harness_init_scale/m086.ts new file mode 100644 index 000000000..4d0ec639d --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m086.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #086 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_085 } from "./m085"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_086: number = VAL_085 + 1; +if (_chain_086 < 0) throw new Error("chain check"); +export const VAL_086: number = 1086; + +export class Cls_086 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_086` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_086"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m087.ts b/test-files/multi/test_harness_init_scale/m087.ts new file mode 100644 index 000000000..5bd8b8647 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m087.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #087 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_086 } from "./m086"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_087: number = VAL_086 + 1; +if (_chain_087 < 0) throw new Error("chain check"); +export const VAL_087: number = 1087; + +export class Cls_087 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_087` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_087"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m088.ts b/test-files/multi/test_harness_init_scale/m088.ts new file mode 100644 index 000000000..c21a16662 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m088.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #088 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_087 } from "./m087"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_088: number = VAL_087 + 1; +if (_chain_088 < 0) throw new Error("chain check"); +export const VAL_088: number = 1088; + +export class Cls_088 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_088` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_088"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m089.ts b/test-files/multi/test_harness_init_scale/m089.ts new file mode 100644 index 000000000..d78357863 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m089.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #089 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_088 } from "./m088"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_089: number = VAL_088 + 1; +if (_chain_089 < 0) throw new Error("chain check"); +export const VAL_089: number = 1089; + +export class Cls_089 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_089` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_089"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m090.ts b/test-files/multi/test_harness_init_scale/m090.ts new file mode 100644 index 000000000..b1d87b23d --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m090.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #090 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_089 } from "./m089"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_090: number = VAL_089 + 1; +if (_chain_090 < 0) throw new Error("chain check"); +export const VAL_090: number = 1090; + +export class Cls_090 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_090` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_090"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m091.ts b/test-files/multi/test_harness_init_scale/m091.ts new file mode 100644 index 000000000..383166cda --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m091.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #091 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_090 } from "./m090"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_091: number = VAL_090 + 1; +if (_chain_091 < 0) throw new Error("chain check"); +export const VAL_091: number = 1091; + +export class Cls_091 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_091` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_091"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m092.ts b/test-files/multi/test_harness_init_scale/m092.ts new file mode 100644 index 000000000..55428ec9d --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m092.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #092 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_091 } from "./m091"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_092: number = VAL_091 + 1; +if (_chain_092 < 0) throw new Error("chain check"); +export const VAL_092: number = 1092; + +export class Cls_092 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_092` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_092"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m093.ts b/test-files/multi/test_harness_init_scale/m093.ts new file mode 100644 index 000000000..b78a010c8 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m093.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #093 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_092 } from "./m092"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_093: number = VAL_092 + 1; +if (_chain_093 < 0) throw new Error("chain check"); +export const VAL_093: number = 1093; + +export class Cls_093 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_093` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_093"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m094.ts b/test-files/multi/test_harness_init_scale/m094.ts new file mode 100644 index 000000000..ab2714184 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m094.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #094 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_093 } from "./m093"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_094: number = VAL_093 + 1; +if (_chain_094 < 0) throw new Error("chain check"); +export const VAL_094: number = 1094; + +export class Cls_094 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_094` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_094"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m095.ts b/test-files/multi/test_harness_init_scale/m095.ts new file mode 100644 index 000000000..c9a7a8c5c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m095.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #095 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_094 } from "./m094"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_095: number = VAL_094 + 1; +if (_chain_095 < 0) throw new Error("chain check"); +export const VAL_095: number = 1095; + +export class Cls_095 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_095` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_095"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m096.ts b/test-files/multi/test_harness_init_scale/m096.ts new file mode 100644 index 000000000..a6fe0ab42 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m096.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #096 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_095 } from "./m095"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_096: number = VAL_095 + 1; +if (_chain_096 < 0) throw new Error("chain check"); +export const VAL_096: number = 1096; + +export class Cls_096 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_096` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_096"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m097.ts b/test-files/multi/test_harness_init_scale/m097.ts new file mode 100644 index 000000000..8970372d8 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m097.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #097 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_096 } from "./m096"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_097: number = VAL_096 + 1; +if (_chain_097 < 0) throw new Error("chain check"); +export const VAL_097: number = 1097; + +export class Cls_097 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_097` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_097"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m098.ts b/test-files/multi/test_harness_init_scale/m098.ts new file mode 100644 index 000000000..9dbcf9483 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m098.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #098 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_097 } from "./m097"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_098: number = VAL_097 + 1; +if (_chain_098 < 0) throw new Error("chain check"); +export const VAL_098: number = 1098; + +export class Cls_098 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_098` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_098"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m099.ts b/test-files/multi/test_harness_init_scale/m099.ts new file mode 100644 index 000000000..b8ce55317 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m099.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #099 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_098 } from "./m098"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_099: number = VAL_098 + 1; +if (_chain_099 < 0) throw new Error("chain check"); +export const VAL_099: number = 1099; + +export class Cls_099 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_099` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_099"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m100.ts b/test-files/multi/test_harness_init_scale/m100.ts new file mode 100644 index 000000000..d9406f362 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m100.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #100 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_099 } from "./m099"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_100: number = VAL_099 + 1; +if (_chain_100 < 0) throw new Error("chain check"); +export const VAL_100: number = 1100; + +export class Cls_100 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_100` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_100"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m101.ts b/test-files/multi/test_harness_init_scale/m101.ts new file mode 100644 index 000000000..15cf78954 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m101.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #101 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_100 } from "./m100"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_101: number = VAL_100 + 1; +if (_chain_101 < 0) throw new Error("chain check"); +export const VAL_101: number = 1101; + +export class Cls_101 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_101` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_101"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m102.ts b/test-files/multi/test_harness_init_scale/m102.ts new file mode 100644 index 000000000..dc93b7bbb --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m102.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #102 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_101 } from "./m101"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_102: number = VAL_101 + 1; +if (_chain_102 < 0) throw new Error("chain check"); +export const VAL_102: number = 1102; + +export class Cls_102 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_102` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_102"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m103.ts b/test-files/multi/test_harness_init_scale/m103.ts new file mode 100644 index 000000000..f80058c89 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m103.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #103 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_102 } from "./m102"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_103: number = VAL_102 + 1; +if (_chain_103 < 0) throw new Error("chain check"); +export const VAL_103: number = 1103; + +export class Cls_103 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_103` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_103"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m104.ts b/test-files/multi/test_harness_init_scale/m104.ts new file mode 100644 index 000000000..b011c22f3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m104.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #104 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_103 } from "./m103"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_104: number = VAL_103 + 1; +if (_chain_104 < 0) throw new Error("chain check"); +export const VAL_104: number = 1104; + +export class Cls_104 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_104` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_104"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m105.ts b/test-files/multi/test_harness_init_scale/m105.ts new file mode 100644 index 000000000..1209d0be7 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m105.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #105 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_104 } from "./m104"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_105: number = VAL_104 + 1; +if (_chain_105 < 0) throw new Error("chain check"); +export const VAL_105: number = 1105; + +export class Cls_105 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_105` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_105"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m106.ts b/test-files/multi/test_harness_init_scale/m106.ts new file mode 100644 index 000000000..5e6cf6d7c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m106.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #106 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_105 } from "./m105"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_106: number = VAL_105 + 1; +if (_chain_106 < 0) throw new Error("chain check"); +export const VAL_106: number = 1106; + +export class Cls_106 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_106` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_106"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m107.ts b/test-files/multi/test_harness_init_scale/m107.ts new file mode 100644 index 000000000..a3571e1f3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m107.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #107 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_106 } from "./m106"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_107: number = VAL_106 + 1; +if (_chain_107 < 0) throw new Error("chain check"); +export const VAL_107: number = 1107; + +export class Cls_107 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_107` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_107"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m108.ts b/test-files/multi/test_harness_init_scale/m108.ts new file mode 100644 index 000000000..c700a9433 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m108.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #108 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_107 } from "./m107"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_108: number = VAL_107 + 1; +if (_chain_108 < 0) throw new Error("chain check"); +export const VAL_108: number = 1108; + +export class Cls_108 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_108` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_108"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m109.ts b/test-files/multi/test_harness_init_scale/m109.ts new file mode 100644 index 000000000..9e7d3e30c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m109.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #109 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_108 } from "./m108"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_109: number = VAL_108 + 1; +if (_chain_109 < 0) throw new Error("chain check"); +export const VAL_109: number = 1109; + +export class Cls_109 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_109` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_109"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m110.ts b/test-files/multi/test_harness_init_scale/m110.ts new file mode 100644 index 000000000..d2217a5cb --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m110.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #110 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_109 } from "./m109"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_110: number = VAL_109 + 1; +if (_chain_110 < 0) throw new Error("chain check"); +export const VAL_110: number = 1110; + +export class Cls_110 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_110` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_110"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m111.ts b/test-files/multi/test_harness_init_scale/m111.ts new file mode 100644 index 000000000..4519b4461 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m111.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #111 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_110 } from "./m110"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_111: number = VAL_110 + 1; +if (_chain_111 < 0) throw new Error("chain check"); +export const VAL_111: number = 1111; + +export class Cls_111 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_111` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_111"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m112.ts b/test-files/multi/test_harness_init_scale/m112.ts new file mode 100644 index 000000000..d509eedb9 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m112.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #112 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_111 } from "./m111"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_112: number = VAL_111 + 1; +if (_chain_112 < 0) throw new Error("chain check"); +export const VAL_112: number = 1112; + +export class Cls_112 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_112` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_112"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m113.ts b/test-files/multi/test_harness_init_scale/m113.ts new file mode 100644 index 000000000..dc9cc9bfe --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m113.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #113 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_112 } from "./m112"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_113: number = VAL_112 + 1; +if (_chain_113 < 0) throw new Error("chain check"); +export const VAL_113: number = 1113; + +export class Cls_113 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_113` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_113"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m114.ts b/test-files/multi/test_harness_init_scale/m114.ts new file mode 100644 index 000000000..839348d6f --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m114.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #114 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_113 } from "./m113"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_114: number = VAL_113 + 1; +if (_chain_114 < 0) throw new Error("chain check"); +export const VAL_114: number = 1114; + +export class Cls_114 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_114` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_114"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m115.ts b/test-files/multi/test_harness_init_scale/m115.ts new file mode 100644 index 000000000..bfe3831c1 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m115.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #115 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_114 } from "./m114"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_115: number = VAL_114 + 1; +if (_chain_115 < 0) throw new Error("chain check"); +export const VAL_115: number = 1115; + +export class Cls_115 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_115` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_115"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m116.ts b/test-files/multi/test_harness_init_scale/m116.ts new file mode 100644 index 000000000..bc9ccdfce --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m116.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #116 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_115 } from "./m115"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_116: number = VAL_115 + 1; +if (_chain_116 < 0) throw new Error("chain check"); +export const VAL_116: number = 1116; + +export class Cls_116 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_116` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_116"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m117.ts b/test-files/multi/test_harness_init_scale/m117.ts new file mode 100644 index 000000000..98d6060b2 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m117.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #117 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_116 } from "./m116"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_117: number = VAL_116 + 1; +if (_chain_117 < 0) throw new Error("chain check"); +export const VAL_117: number = 1117; + +export class Cls_117 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_117` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_117"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m118.ts b/test-files/multi/test_harness_init_scale/m118.ts new file mode 100644 index 000000000..a26c82c5f --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m118.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #118 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_117 } from "./m117"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_118: number = VAL_117 + 1; +if (_chain_118 < 0) throw new Error("chain check"); +export const VAL_118: number = 1118; + +export class Cls_118 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_118` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_118"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m119.ts b/test-files/multi/test_harness_init_scale/m119.ts new file mode 100644 index 000000000..97895812b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m119.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #119 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_118 } from "./m118"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_119: number = VAL_118 + 1; +if (_chain_119 < 0) throw new Error("chain check"); +export const VAL_119: number = 1119; + +export class Cls_119 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_119` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_119"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m120.ts b/test-files/multi/test_harness_init_scale/m120.ts new file mode 100644 index 000000000..53e67cebf --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m120.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #120 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_119 } from "./m119"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_120: number = VAL_119 + 1; +if (_chain_120 < 0) throw new Error("chain check"); +export const VAL_120: number = 1120; + +export class Cls_120 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_120` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_120"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m121.ts b/test-files/multi/test_harness_init_scale/m121.ts new file mode 100644 index 000000000..18dbcf8cd --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m121.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #121 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_120 } from "./m120"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_121: number = VAL_120 + 1; +if (_chain_121 < 0) throw new Error("chain check"); +export const VAL_121: number = 1121; + +export class Cls_121 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_121` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_121"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m122.ts b/test-files/multi/test_harness_init_scale/m122.ts new file mode 100644 index 000000000..8a6b3708b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m122.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #122 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_121 } from "./m121"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_122: number = VAL_121 + 1; +if (_chain_122 < 0) throw new Error("chain check"); +export const VAL_122: number = 1122; + +export class Cls_122 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_122` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_122"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m123.ts b/test-files/multi/test_harness_init_scale/m123.ts new file mode 100644 index 000000000..5c4d2a014 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m123.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #123 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_122 } from "./m122"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_123: number = VAL_122 + 1; +if (_chain_123 < 0) throw new Error("chain check"); +export const VAL_123: number = 1123; + +export class Cls_123 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_123` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_123"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m124.ts b/test-files/multi/test_harness_init_scale/m124.ts new file mode 100644 index 000000000..e7f7a2ff7 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m124.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #124 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_123 } from "./m123"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_124: number = VAL_123 + 1; +if (_chain_124 < 0) throw new Error("chain check"); +export const VAL_124: number = 1124; + +export class Cls_124 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_124` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_124"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m125.ts b/test-files/multi/test_harness_init_scale/m125.ts new file mode 100644 index 000000000..6ff3fbac7 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m125.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #125 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_124 } from "./m124"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_125: number = VAL_124 + 1; +if (_chain_125 < 0) throw new Error("chain check"); +export const VAL_125: number = 1125; + +export class Cls_125 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_125` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_125"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m126.ts b/test-files/multi/test_harness_init_scale/m126.ts new file mode 100644 index 000000000..8e224e5b6 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m126.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #126 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_125 } from "./m125"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_126: number = VAL_125 + 1; +if (_chain_126 < 0) throw new Error("chain check"); +export const VAL_126: number = 1126; + +export class Cls_126 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_126` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_126"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m127.ts b/test-files/multi/test_harness_init_scale/m127.ts new file mode 100644 index 000000000..9c4a1c722 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m127.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #127 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_126 } from "./m126"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_127: number = VAL_126 + 1; +if (_chain_127 < 0) throw new Error("chain check"); +export const VAL_127: number = 1127; + +export class Cls_127 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_127` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_127"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m128.ts b/test-files/multi/test_harness_init_scale/m128.ts new file mode 100644 index 000000000..fd6c63fb7 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m128.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #128 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_127 } from "./m127"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_128: number = VAL_127 + 1; +if (_chain_128 < 0) throw new Error("chain check"); +export const VAL_128: number = 1128; + +export class Cls_128 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_128` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_128"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m129.ts b/test-files/multi/test_harness_init_scale/m129.ts new file mode 100644 index 000000000..8fc8ced33 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m129.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #129 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_128 } from "./m128"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_129: number = VAL_128 + 1; +if (_chain_129 < 0) throw new Error("chain check"); +export const VAL_129: number = 1129; + +export class Cls_129 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_129` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_129"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m130.ts b/test-files/multi/test_harness_init_scale/m130.ts new file mode 100644 index 000000000..cf08db157 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m130.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #130 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_129 } from "./m129"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_130: number = VAL_129 + 1; +if (_chain_130 < 0) throw new Error("chain check"); +export const VAL_130: number = 1130; + +export class Cls_130 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_130` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_130"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m131.ts b/test-files/multi/test_harness_init_scale/m131.ts new file mode 100644 index 000000000..e715cbb9d --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m131.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #131 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_130 } from "./m130"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_131: number = VAL_130 + 1; +if (_chain_131 < 0) throw new Error("chain check"); +export const VAL_131: number = 1131; + +export class Cls_131 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_131` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_131"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m132.ts b/test-files/multi/test_harness_init_scale/m132.ts new file mode 100644 index 000000000..d65e65d55 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m132.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #132 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_131 } from "./m131"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_132: number = VAL_131 + 1; +if (_chain_132 < 0) throw new Error("chain check"); +export const VAL_132: number = 1132; + +export class Cls_132 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_132` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_132"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m133.ts b/test-files/multi/test_harness_init_scale/m133.ts new file mode 100644 index 000000000..4e529ba81 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m133.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #133 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_132 } from "./m132"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_133: number = VAL_132 + 1; +if (_chain_133 < 0) throw new Error("chain check"); +export const VAL_133: number = 1133; + +export class Cls_133 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_133` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_133"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m134.ts b/test-files/multi/test_harness_init_scale/m134.ts new file mode 100644 index 000000000..cae04704e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m134.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #134 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_133 } from "./m133"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_134: number = VAL_133 + 1; +if (_chain_134 < 0) throw new Error("chain check"); +export const VAL_134: number = 1134; + +export class Cls_134 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_134` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_134"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m135.ts b/test-files/multi/test_harness_init_scale/m135.ts new file mode 100644 index 000000000..371503b3e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m135.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #135 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_134 } from "./m134"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_135: number = VAL_134 + 1; +if (_chain_135 < 0) throw new Error("chain check"); +export const VAL_135: number = 1135; + +export class Cls_135 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_135` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_135"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m136.ts b/test-files/multi/test_harness_init_scale/m136.ts new file mode 100644 index 000000000..73468d15f --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m136.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #136 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_135 } from "./m135"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_136: number = VAL_135 + 1; +if (_chain_136 < 0) throw new Error("chain check"); +export const VAL_136: number = 1136; + +export class Cls_136 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_136` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_136"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m137.ts b/test-files/multi/test_harness_init_scale/m137.ts new file mode 100644 index 000000000..c3685f868 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m137.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #137 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_136 } from "./m136"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_137: number = VAL_136 + 1; +if (_chain_137 < 0) throw new Error("chain check"); +export const VAL_137: number = 1137; + +export class Cls_137 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_137` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_137"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m138.ts b/test-files/multi/test_harness_init_scale/m138.ts new file mode 100644 index 000000000..b5787bbe5 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m138.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #138 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_137 } from "./m137"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_138: number = VAL_137 + 1; +if (_chain_138 < 0) throw new Error("chain check"); +export const VAL_138: number = 1138; + +export class Cls_138 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_138` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_138"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m139.ts b/test-files/multi/test_harness_init_scale/m139.ts new file mode 100644 index 000000000..2bf0aa37b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m139.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #139 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_138 } from "./m138"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_139: number = VAL_138 + 1; +if (_chain_139 < 0) throw new Error("chain check"); +export const VAL_139: number = 1139; + +export class Cls_139 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_139` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_139"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m140.ts b/test-files/multi/test_harness_init_scale/m140.ts new file mode 100644 index 000000000..10f8af6a6 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m140.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #140 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_139 } from "./m139"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_140: number = VAL_139 + 1; +if (_chain_140 < 0) throw new Error("chain check"); +export const VAL_140: number = 1140; + +export class Cls_140 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_140` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_140"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m141.ts b/test-files/multi/test_harness_init_scale/m141.ts new file mode 100644 index 000000000..d4f09afe4 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m141.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #141 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_140 } from "./m140"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_141: number = VAL_140 + 1; +if (_chain_141 < 0) throw new Error("chain check"); +export const VAL_141: number = 1141; + +export class Cls_141 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_141` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_141"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m142.ts b/test-files/multi/test_harness_init_scale/m142.ts new file mode 100644 index 000000000..380cf6dbf --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m142.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #142 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_141 } from "./m141"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_142: number = VAL_141 + 1; +if (_chain_142 < 0) throw new Error("chain check"); +export const VAL_142: number = 1142; + +export class Cls_142 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_142` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_142"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m143.ts b/test-files/multi/test_harness_init_scale/m143.ts new file mode 100644 index 000000000..c457b2335 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m143.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #143 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_142 } from "./m142"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_143: number = VAL_142 + 1; +if (_chain_143 < 0) throw new Error("chain check"); +export const VAL_143: number = 1143; + +export class Cls_143 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_143` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_143"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m144.ts b/test-files/multi/test_harness_init_scale/m144.ts new file mode 100644 index 000000000..b0f38e8c9 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m144.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #144 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_143 } from "./m143"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_144: number = VAL_143 + 1; +if (_chain_144 < 0) throw new Error("chain check"); +export const VAL_144: number = 1144; + +export class Cls_144 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_144` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_144"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m145.ts b/test-files/multi/test_harness_init_scale/m145.ts new file mode 100644 index 000000000..1be006153 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m145.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #145 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_144 } from "./m144"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_145: number = VAL_144 + 1; +if (_chain_145 < 0) throw new Error("chain check"); +export const VAL_145: number = 1145; + +export class Cls_145 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_145` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_145"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m146.ts b/test-files/multi/test_harness_init_scale/m146.ts new file mode 100644 index 000000000..1e2f3b82f --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m146.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #146 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_145 } from "./m145"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_146: number = VAL_145 + 1; +if (_chain_146 < 0) throw new Error("chain check"); +export const VAL_146: number = 1146; + +export class Cls_146 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_146` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_146"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m147.ts b/test-files/multi/test_harness_init_scale/m147.ts new file mode 100644 index 000000000..d412de300 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m147.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #147 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_146 } from "./m146"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_147: number = VAL_146 + 1; +if (_chain_147 < 0) throw new Error("chain check"); +export const VAL_147: number = 1147; + +export class Cls_147 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_147` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_147"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m148.ts b/test-files/multi/test_harness_init_scale/m148.ts new file mode 100644 index 000000000..fc5662f89 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m148.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #148 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_147 } from "./m147"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_148: number = VAL_147 + 1; +if (_chain_148 < 0) throw new Error("chain check"); +export const VAL_148: number = 1148; + +export class Cls_148 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_148` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_148"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m149.ts b/test-files/multi/test_harness_init_scale/m149.ts new file mode 100644 index 000000000..a5a769b35 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m149.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #149 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_148 } from "./m148"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_149: number = VAL_148 + 1; +if (_chain_149 < 0) throw new Error("chain check"); +export const VAL_149: number = 1149; + +export class Cls_149 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_149` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_149"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m150.ts b/test-files/multi/test_harness_init_scale/m150.ts new file mode 100644 index 000000000..5f9be7af3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m150.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #150 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_149 } from "./m149"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_150: number = VAL_149 + 1; +if (_chain_150 < 0) throw new Error("chain check"); +export const VAL_150: number = 1150; + +export class Cls_150 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_150` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_150"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m151.ts b/test-files/multi/test_harness_init_scale/m151.ts new file mode 100644 index 000000000..91393b86b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m151.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #151 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_150 } from "./m150"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_151: number = VAL_150 + 1; +if (_chain_151 < 0) throw new Error("chain check"); +export const VAL_151: number = 1151; + +export class Cls_151 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_151` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_151"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m152.ts b/test-files/multi/test_harness_init_scale/m152.ts new file mode 100644 index 000000000..27cc669cc --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m152.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #152 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_151 } from "./m151"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_152: number = VAL_151 + 1; +if (_chain_152 < 0) throw new Error("chain check"); +export const VAL_152: number = 1152; + +export class Cls_152 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_152` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_152"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m153.ts b/test-files/multi/test_harness_init_scale/m153.ts new file mode 100644 index 000000000..4fbf30c87 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m153.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #153 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_152 } from "./m152"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_153: number = VAL_152 + 1; +if (_chain_153 < 0) throw new Error("chain check"); +export const VAL_153: number = 1153; + +export class Cls_153 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_153` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_153"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m154.ts b/test-files/multi/test_harness_init_scale/m154.ts new file mode 100644 index 000000000..ee0c07a18 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m154.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #154 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_153 } from "./m153"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_154: number = VAL_153 + 1; +if (_chain_154 < 0) throw new Error("chain check"); +export const VAL_154: number = 1154; + +export class Cls_154 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_154` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_154"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m155.ts b/test-files/multi/test_harness_init_scale/m155.ts new file mode 100644 index 000000000..b61998f58 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m155.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #155 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_154 } from "./m154"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_155: number = VAL_154 + 1; +if (_chain_155 < 0) throw new Error("chain check"); +export const VAL_155: number = 1155; + +export class Cls_155 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_155` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_155"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m156.ts b/test-files/multi/test_harness_init_scale/m156.ts new file mode 100644 index 000000000..4ca9ebbff --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m156.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #156 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_155 } from "./m155"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_156: number = VAL_155 + 1; +if (_chain_156 < 0) throw new Error("chain check"); +export const VAL_156: number = 1156; + +export class Cls_156 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_156` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_156"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m157.ts b/test-files/multi/test_harness_init_scale/m157.ts new file mode 100644 index 000000000..b8d0a496a --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m157.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #157 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_156 } from "./m156"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_157: number = VAL_156 + 1; +if (_chain_157 < 0) throw new Error("chain check"); +export const VAL_157: number = 1157; + +export class Cls_157 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_157` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_157"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m158.ts b/test-files/multi/test_harness_init_scale/m158.ts new file mode 100644 index 000000000..30b9b6846 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m158.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #158 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_157 } from "./m157"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_158: number = VAL_157 + 1; +if (_chain_158 < 0) throw new Error("chain check"); +export const VAL_158: number = 1158; + +export class Cls_158 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_158` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_158"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m159.ts b/test-files/multi/test_harness_init_scale/m159.ts new file mode 100644 index 000000000..c11ddd1f9 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m159.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #159 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_158 } from "./m158"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_159: number = VAL_158 + 1; +if (_chain_159 < 0) throw new Error("chain check"); +export const VAL_159: number = 1159; + +export class Cls_159 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_159` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_159"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m160.ts b/test-files/multi/test_harness_init_scale/m160.ts new file mode 100644 index 000000000..346720571 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m160.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #160 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_159 } from "./m159"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_160: number = VAL_159 + 1; +if (_chain_160 < 0) throw new Error("chain check"); +export const VAL_160: number = 1160; + +export class Cls_160 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_160` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_160"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m161.ts b/test-files/multi/test_harness_init_scale/m161.ts new file mode 100644 index 000000000..f3fd9f985 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m161.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #161 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_160 } from "./m160"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_161: number = VAL_160 + 1; +if (_chain_161 < 0) throw new Error("chain check"); +export const VAL_161: number = 1161; + +export class Cls_161 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_161` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_161"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m162.ts b/test-files/multi/test_harness_init_scale/m162.ts new file mode 100644 index 000000000..f281c2bbb --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m162.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #162 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_161 } from "./m161"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_162: number = VAL_161 + 1; +if (_chain_162 < 0) throw new Error("chain check"); +export const VAL_162: number = 1162; + +export class Cls_162 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_162` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_162"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m163.ts b/test-files/multi/test_harness_init_scale/m163.ts new file mode 100644 index 000000000..80e46ec1b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m163.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #163 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_162 } from "./m162"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_163: number = VAL_162 + 1; +if (_chain_163 < 0) throw new Error("chain check"); +export const VAL_163: number = 1163; + +export class Cls_163 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_163` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_163"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m164.ts b/test-files/multi/test_harness_init_scale/m164.ts new file mode 100644 index 000000000..c2abe7104 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m164.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #164 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_163 } from "./m163"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_164: number = VAL_163 + 1; +if (_chain_164 < 0) throw new Error("chain check"); +export const VAL_164: number = 1164; + +export class Cls_164 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_164` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_164"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m165.ts b/test-files/multi/test_harness_init_scale/m165.ts new file mode 100644 index 000000000..669cae03c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m165.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #165 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_164 } from "./m164"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_165: number = VAL_164 + 1; +if (_chain_165 < 0) throw new Error("chain check"); +export const VAL_165: number = 1165; + +export class Cls_165 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_165` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_165"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m166.ts b/test-files/multi/test_harness_init_scale/m166.ts new file mode 100644 index 000000000..3d47688de --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m166.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #166 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_165 } from "./m165"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_166: number = VAL_165 + 1; +if (_chain_166 < 0) throw new Error("chain check"); +export const VAL_166: number = 1166; + +export class Cls_166 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_166` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_166"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m167.ts b/test-files/multi/test_harness_init_scale/m167.ts new file mode 100644 index 000000000..b3a13ad59 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m167.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #167 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_166 } from "./m166"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_167: number = VAL_166 + 1; +if (_chain_167 < 0) throw new Error("chain check"); +export const VAL_167: number = 1167; + +export class Cls_167 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_167` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_167"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m168.ts b/test-files/multi/test_harness_init_scale/m168.ts new file mode 100644 index 000000000..fe2b5ad05 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m168.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #168 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_167 } from "./m167"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_168: number = VAL_167 + 1; +if (_chain_168 < 0) throw new Error("chain check"); +export const VAL_168: number = 1168; + +export class Cls_168 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_168` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_168"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m169.ts b/test-files/multi/test_harness_init_scale/m169.ts new file mode 100644 index 000000000..8de133732 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m169.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #169 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_168 } from "./m168"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_169: number = VAL_168 + 1; +if (_chain_169 < 0) throw new Error("chain check"); +export const VAL_169: number = 1169; + +export class Cls_169 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_169` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_169"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m170.ts b/test-files/multi/test_harness_init_scale/m170.ts new file mode 100644 index 000000000..65b599966 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m170.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #170 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_169 } from "./m169"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_170: number = VAL_169 + 1; +if (_chain_170 < 0) throw new Error("chain check"); +export const VAL_170: number = 1170; + +export class Cls_170 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_170` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_170"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m171.ts b/test-files/multi/test_harness_init_scale/m171.ts new file mode 100644 index 000000000..6c844eee0 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m171.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #171 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_170 } from "./m170"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_171: number = VAL_170 + 1; +if (_chain_171 < 0) throw new Error("chain check"); +export const VAL_171: number = 1171; + +export class Cls_171 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_171` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_171"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m172.ts b/test-files/multi/test_harness_init_scale/m172.ts new file mode 100644 index 000000000..b453fcaa1 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m172.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #172 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_171 } from "./m171"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_172: number = VAL_171 + 1; +if (_chain_172 < 0) throw new Error("chain check"); +export const VAL_172: number = 1172; + +export class Cls_172 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_172` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_172"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m173.ts b/test-files/multi/test_harness_init_scale/m173.ts new file mode 100644 index 000000000..3a87488f4 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m173.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #173 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_172 } from "./m172"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_173: number = VAL_172 + 1; +if (_chain_173 < 0) throw new Error("chain check"); +export const VAL_173: number = 1173; + +export class Cls_173 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_173` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_173"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m174.ts b/test-files/multi/test_harness_init_scale/m174.ts new file mode 100644 index 000000000..1333aca8d --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m174.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #174 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_173 } from "./m173"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_174: number = VAL_173 + 1; +if (_chain_174 < 0) throw new Error("chain check"); +export const VAL_174: number = 1174; + +export class Cls_174 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_174` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_174"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m175.ts b/test-files/multi/test_harness_init_scale/m175.ts new file mode 100644 index 000000000..cab9c35d6 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m175.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #175 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_174 } from "./m174"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_175: number = VAL_174 + 1; +if (_chain_175 < 0) throw new Error("chain check"); +export const VAL_175: number = 1175; + +export class Cls_175 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_175` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_175"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m176.ts b/test-files/multi/test_harness_init_scale/m176.ts new file mode 100644 index 000000000..766ae1030 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m176.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #176 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_175 } from "./m175"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_176: number = VAL_175 + 1; +if (_chain_176 < 0) throw new Error("chain check"); +export const VAL_176: number = 1176; + +export class Cls_176 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_176` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_176"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m177.ts b/test-files/multi/test_harness_init_scale/m177.ts new file mode 100644 index 000000000..d48596b7b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m177.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #177 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_176 } from "./m176"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_177: number = VAL_176 + 1; +if (_chain_177 < 0) throw new Error("chain check"); +export const VAL_177: number = 1177; + +export class Cls_177 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_177` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_177"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m178.ts b/test-files/multi/test_harness_init_scale/m178.ts new file mode 100644 index 000000000..9507a3076 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m178.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #178 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_177 } from "./m177"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_178: number = VAL_177 + 1; +if (_chain_178 < 0) throw new Error("chain check"); +export const VAL_178: number = 1178; + +export class Cls_178 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_178` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_178"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m179.ts b/test-files/multi/test_harness_init_scale/m179.ts new file mode 100644 index 000000000..a249c2fcc --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m179.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #179 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_178 } from "./m178"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_179: number = VAL_178 + 1; +if (_chain_179 < 0) throw new Error("chain check"); +export const VAL_179: number = 1179; + +export class Cls_179 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_179` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_179"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m180.ts b/test-files/multi/test_harness_init_scale/m180.ts new file mode 100644 index 000000000..c45abbcfe --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m180.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #180 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_179 } from "./m179"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_180: number = VAL_179 + 1; +if (_chain_180 < 0) throw new Error("chain check"); +export const VAL_180: number = 1180; + +export class Cls_180 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_180` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_180"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m181.ts b/test-files/multi/test_harness_init_scale/m181.ts new file mode 100644 index 000000000..461cad0fb --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m181.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #181 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_180 } from "./m180"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_181: number = VAL_180 + 1; +if (_chain_181 < 0) throw new Error("chain check"); +export const VAL_181: number = 1181; + +export class Cls_181 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_181` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_181"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m182.ts b/test-files/multi/test_harness_init_scale/m182.ts new file mode 100644 index 000000000..836757c61 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m182.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #182 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_181 } from "./m181"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_182: number = VAL_181 + 1; +if (_chain_182 < 0) throw new Error("chain check"); +export const VAL_182: number = 1182; + +export class Cls_182 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_182` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_182"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m183.ts b/test-files/multi/test_harness_init_scale/m183.ts new file mode 100644 index 000000000..135412b0d --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m183.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #183 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_182 } from "./m182"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_183: number = VAL_182 + 1; +if (_chain_183 < 0) throw new Error("chain check"); +export const VAL_183: number = 1183; + +export class Cls_183 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_183` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_183"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m184.ts b/test-files/multi/test_harness_init_scale/m184.ts new file mode 100644 index 000000000..47655b1de --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m184.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #184 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_183 } from "./m183"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_184: number = VAL_183 + 1; +if (_chain_184 < 0) throw new Error("chain check"); +export const VAL_184: number = 1184; + +export class Cls_184 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_184` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_184"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m185.ts b/test-files/multi/test_harness_init_scale/m185.ts new file mode 100644 index 000000000..b28cf4718 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m185.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #185 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_184 } from "./m184"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_185: number = VAL_184 + 1; +if (_chain_185 < 0) throw new Error("chain check"); +export const VAL_185: number = 1185; + +export class Cls_185 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_185` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_185"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m186.ts b/test-files/multi/test_harness_init_scale/m186.ts new file mode 100644 index 000000000..3037ce3d3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m186.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #186 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_185 } from "./m185"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_186: number = VAL_185 + 1; +if (_chain_186 < 0) throw new Error("chain check"); +export const VAL_186: number = 1186; + +export class Cls_186 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_186` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_186"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m187.ts b/test-files/multi/test_harness_init_scale/m187.ts new file mode 100644 index 000000000..937b316e4 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m187.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #187 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_186 } from "./m186"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_187: number = VAL_186 + 1; +if (_chain_187 < 0) throw new Error("chain check"); +export const VAL_187: number = 1187; + +export class Cls_187 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_187` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_187"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m188.ts b/test-files/multi/test_harness_init_scale/m188.ts new file mode 100644 index 000000000..7962760ee --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m188.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #188 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_187 } from "./m187"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_188: number = VAL_187 + 1; +if (_chain_188 < 0) throw new Error("chain check"); +export const VAL_188: number = 1188; + +export class Cls_188 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_188` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_188"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m189.ts b/test-files/multi/test_harness_init_scale/m189.ts new file mode 100644 index 000000000..0a88c1835 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m189.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #189 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_188 } from "./m188"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_189: number = VAL_188 + 1; +if (_chain_189 < 0) throw new Error("chain check"); +export const VAL_189: number = 1189; + +export class Cls_189 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_189` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_189"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m190.ts b/test-files/multi/test_harness_init_scale/m190.ts new file mode 100644 index 000000000..7f5f54df8 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m190.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #190 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_189 } from "./m189"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_190: number = VAL_189 + 1; +if (_chain_190 < 0) throw new Error("chain check"); +export const VAL_190: number = 1190; + +export class Cls_190 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_190` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_190"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m191.ts b/test-files/multi/test_harness_init_scale/m191.ts new file mode 100644 index 000000000..873a7ce9c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m191.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #191 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_190 } from "./m190"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_191: number = VAL_190 + 1; +if (_chain_191 < 0) throw new Error("chain check"); +export const VAL_191: number = 1191; + +export class Cls_191 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_191` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_191"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m192.ts b/test-files/multi/test_harness_init_scale/m192.ts new file mode 100644 index 000000000..4ccf4c0d7 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m192.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #192 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_191 } from "./m191"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_192: number = VAL_191 + 1; +if (_chain_192 < 0) throw new Error("chain check"); +export const VAL_192: number = 1192; + +export class Cls_192 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_192` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_192"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m193.ts b/test-files/multi/test_harness_init_scale/m193.ts new file mode 100644 index 000000000..7e2371a76 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m193.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #193 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_192 } from "./m192"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_193: number = VAL_192 + 1; +if (_chain_193 < 0) throw new Error("chain check"); +export const VAL_193: number = 1193; + +export class Cls_193 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_193` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_193"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m194.ts b/test-files/multi/test_harness_init_scale/m194.ts new file mode 100644 index 000000000..91cd632ca --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m194.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #194 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_193 } from "./m193"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_194: number = VAL_193 + 1; +if (_chain_194 < 0) throw new Error("chain check"); +export const VAL_194: number = 1194; + +export class Cls_194 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_194` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_194"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m195.ts b/test-files/multi/test_harness_init_scale/m195.ts new file mode 100644 index 000000000..7f870f5b4 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m195.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #195 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_194 } from "./m194"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_195: number = VAL_194 + 1; +if (_chain_195 < 0) throw new Error("chain check"); +export const VAL_195: number = 1195; + +export class Cls_195 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_195` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_195"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m196.ts b/test-files/multi/test_harness_init_scale/m196.ts new file mode 100644 index 000000000..fd060d620 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m196.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #196 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_195 } from "./m195"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_196: number = VAL_195 + 1; +if (_chain_196 < 0) throw new Error("chain check"); +export const VAL_196: number = 1196; + +export class Cls_196 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_196` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_196"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m197.ts b/test-files/multi/test_harness_init_scale/m197.ts new file mode 100644 index 000000000..4029b4b67 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m197.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #197 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_196 } from "./m196"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_197: number = VAL_196 + 1; +if (_chain_197 < 0) throw new Error("chain check"); +export const VAL_197: number = 1197; + +export class Cls_197 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_197` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_197"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m198.ts b/test-files/multi/test_harness_init_scale/m198.ts new file mode 100644 index 000000000..0acb6d8c3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m198.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #198 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_197 } from "./m197"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_198: number = VAL_197 + 1; +if (_chain_198 < 0) throw new Error("chain check"); +export const VAL_198: number = 1198; + +export class Cls_198 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_198` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_198"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m199.ts b/test-files/multi/test_harness_init_scale/m199.ts new file mode 100644 index 000000000..b9abb0443 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m199.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #199 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_198 } from "./m198"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_199: number = VAL_198 + 1; +if (_chain_199 < 0) throw new Error("chain check"); +export const VAL_199: number = 1199; + +export class Cls_199 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_199` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_199"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m200.ts b/test-files/multi/test_harness_init_scale/m200.ts new file mode 100644 index 000000000..4d02b13b3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m200.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #200 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_199 } from "./m199"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_200: number = VAL_199 + 1; +if (_chain_200 < 0) throw new Error("chain check"); +export const VAL_200: number = 1200; + +export class Cls_200 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_200` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_200"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m201.ts b/test-files/multi/test_harness_init_scale/m201.ts new file mode 100644 index 000000000..61cca6e7c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m201.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #201 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_200 } from "./m200"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_201: number = VAL_200 + 1; +if (_chain_201 < 0) throw new Error("chain check"); +export const VAL_201: number = 1201; + +export class Cls_201 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_201` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_201"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m202.ts b/test-files/multi/test_harness_init_scale/m202.ts new file mode 100644 index 000000000..102661451 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m202.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #202 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_201 } from "./m201"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_202: number = VAL_201 + 1; +if (_chain_202 < 0) throw new Error("chain check"); +export const VAL_202: number = 1202; + +export class Cls_202 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_202` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_202"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m203.ts b/test-files/multi/test_harness_init_scale/m203.ts new file mode 100644 index 000000000..f200959f3 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m203.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #203 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_202 } from "./m202"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_203: number = VAL_202 + 1; +if (_chain_203 < 0) throw new Error("chain check"); +export const VAL_203: number = 1203; + +export class Cls_203 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_203` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_203"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m204.ts b/test-files/multi/test_harness_init_scale/m204.ts new file mode 100644 index 000000000..4dc73f4fa --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m204.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #204 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_203 } from "./m203"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_204: number = VAL_203 + 1; +if (_chain_204 < 0) throw new Error("chain check"); +export const VAL_204: number = 1204; + +export class Cls_204 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_204` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_204"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m205.ts b/test-files/multi/test_harness_init_scale/m205.ts new file mode 100644 index 000000000..de72f74ad --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m205.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #205 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_204 } from "./m204"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_205: number = VAL_204 + 1; +if (_chain_205 < 0) throw new Error("chain check"); +export const VAL_205: number = 1205; + +export class Cls_205 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_205` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_205"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m206.ts b/test-files/multi/test_harness_init_scale/m206.ts new file mode 100644 index 000000000..ffcacf957 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m206.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #206 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_205 } from "./m205"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_206: number = VAL_205 + 1; +if (_chain_206 < 0) throw new Error("chain check"); +export const VAL_206: number = 1206; + +export class Cls_206 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_206` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_206"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m207.ts b/test-files/multi/test_harness_init_scale/m207.ts new file mode 100644 index 000000000..9a94bdd0e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m207.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #207 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_206 } from "./m206"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_207: number = VAL_206 + 1; +if (_chain_207 < 0) throw new Error("chain check"); +export const VAL_207: number = 1207; + +export class Cls_207 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_207` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_207"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m208.ts b/test-files/multi/test_harness_init_scale/m208.ts new file mode 100644 index 000000000..8566a4b2d --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m208.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #208 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_207 } from "./m207"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_208: number = VAL_207 + 1; +if (_chain_208 < 0) throw new Error("chain check"); +export const VAL_208: number = 1208; + +export class Cls_208 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_208` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_208"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m209.ts b/test-files/multi/test_harness_init_scale/m209.ts new file mode 100644 index 000000000..79aa86d32 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m209.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #209 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_208 } from "./m208"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_209: number = VAL_208 + 1; +if (_chain_209 < 0) throw new Error("chain check"); +export const VAL_209: number = 1209; + +export class Cls_209 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_209` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_209"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m210.ts b/test-files/multi/test_harness_init_scale/m210.ts new file mode 100644 index 000000000..0306f56ca --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m210.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #210 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_209 } from "./m209"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_210: number = VAL_209 + 1; +if (_chain_210 < 0) throw new Error("chain check"); +export const VAL_210: number = 1210; + +export class Cls_210 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_210` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_210"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m211.ts b/test-files/multi/test_harness_init_scale/m211.ts new file mode 100644 index 000000000..117984224 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m211.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #211 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_210 } from "./m210"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_211: number = VAL_210 + 1; +if (_chain_211 < 0) throw new Error("chain check"); +export const VAL_211: number = 1211; + +export class Cls_211 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_211` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_211"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m212.ts b/test-files/multi/test_harness_init_scale/m212.ts new file mode 100644 index 000000000..5862246cd --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m212.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #212 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_211 } from "./m211"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_212: number = VAL_211 + 1; +if (_chain_212 < 0) throw new Error("chain check"); +export const VAL_212: number = 1212; + +export class Cls_212 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_212` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_212"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m213.ts b/test-files/multi/test_harness_init_scale/m213.ts new file mode 100644 index 000000000..e94f9ce15 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m213.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #213 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_212 } from "./m212"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_213: number = VAL_212 + 1; +if (_chain_213 < 0) throw new Error("chain check"); +export const VAL_213: number = 1213; + +export class Cls_213 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_213` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_213"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m214.ts b/test-files/multi/test_harness_init_scale/m214.ts new file mode 100644 index 000000000..4adf97ebe --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m214.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #214 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_213 } from "./m213"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_214: number = VAL_213 + 1; +if (_chain_214 < 0) throw new Error("chain check"); +export const VAL_214: number = 1214; + +export class Cls_214 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_214` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_214"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m215.ts b/test-files/multi/test_harness_init_scale/m215.ts new file mode 100644 index 000000000..f3cb56b52 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m215.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #215 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_214 } from "./m214"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_215: number = VAL_214 + 1; +if (_chain_215 < 0) throw new Error("chain check"); +export const VAL_215: number = 1215; + +export class Cls_215 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_215` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_215"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m216.ts b/test-files/multi/test_harness_init_scale/m216.ts new file mode 100644 index 000000000..9c1495407 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m216.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #216 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_215 } from "./m215"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_216: number = VAL_215 + 1; +if (_chain_216 < 0) throw new Error("chain check"); +export const VAL_216: number = 1216; + +export class Cls_216 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_216` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_216"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m217.ts b/test-files/multi/test_harness_init_scale/m217.ts new file mode 100644 index 000000000..954d6512c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m217.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #217 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_216 } from "./m216"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_217: number = VAL_216 + 1; +if (_chain_217 < 0) throw new Error("chain check"); +export const VAL_217: number = 1217; + +export class Cls_217 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_217` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_217"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m218.ts b/test-files/multi/test_harness_init_scale/m218.ts new file mode 100644 index 000000000..25d5618c2 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m218.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #218 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_217 } from "./m217"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_218: number = VAL_217 + 1; +if (_chain_218 < 0) throw new Error("chain check"); +export const VAL_218: number = 1218; + +export class Cls_218 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_218` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_218"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m219.ts b/test-files/multi/test_harness_init_scale/m219.ts new file mode 100644 index 000000000..97f840ad7 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m219.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #219 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_218 } from "./m218"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_219: number = VAL_218 + 1; +if (_chain_219 < 0) throw new Error("chain check"); +export const VAL_219: number = 1219; + +export class Cls_219 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_219` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_219"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m220.ts b/test-files/multi/test_harness_init_scale/m220.ts new file mode 100644 index 000000000..b8932004c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m220.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #220 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_219 } from "./m219"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_220: number = VAL_219 + 1; +if (_chain_220 < 0) throw new Error("chain check"); +export const VAL_220: number = 1220; + +export class Cls_220 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_220` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_220"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m221.ts b/test-files/multi/test_harness_init_scale/m221.ts new file mode 100644 index 000000000..44ea1cbbe --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m221.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #221 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_220 } from "./m220"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_221: number = VAL_220 + 1; +if (_chain_221 < 0) throw new Error("chain check"); +export const VAL_221: number = 1221; + +export class Cls_221 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_221` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_221"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m222.ts b/test-files/multi/test_harness_init_scale/m222.ts new file mode 100644 index 000000000..42670f9c6 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m222.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #222 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_221 } from "./m221"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_222: number = VAL_221 + 1; +if (_chain_222 < 0) throw new Error("chain check"); +export const VAL_222: number = 1222; + +export class Cls_222 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_222` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_222"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m223.ts b/test-files/multi/test_harness_init_scale/m223.ts new file mode 100644 index 000000000..5311d7701 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m223.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #223 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_222 } from "./m222"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_223: number = VAL_222 + 1; +if (_chain_223 < 0) throw new Error("chain check"); +export const VAL_223: number = 1223; + +export class Cls_223 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_223` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_223"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m224.ts b/test-files/multi/test_harness_init_scale/m224.ts new file mode 100644 index 000000000..e8cfe2018 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m224.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #224 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_223 } from "./m223"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_224: number = VAL_223 + 1; +if (_chain_224 < 0) throw new Error("chain check"); +export const VAL_224: number = 1224; + +export class Cls_224 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_224` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_224"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m225.ts b/test-files/multi/test_harness_init_scale/m225.ts new file mode 100644 index 000000000..649caa923 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m225.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #225 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_224 } from "./m224"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_225: number = VAL_224 + 1; +if (_chain_225 < 0) throw new Error("chain check"); +export const VAL_225: number = 1225; + +export class Cls_225 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_225` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_225"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m226.ts b/test-files/multi/test_harness_init_scale/m226.ts new file mode 100644 index 000000000..ab4089cf2 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m226.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #226 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_225 } from "./m225"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_226: number = VAL_225 + 1; +if (_chain_226 < 0) throw new Error("chain check"); +export const VAL_226: number = 1226; + +export class Cls_226 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_226` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_226"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m227.ts b/test-files/multi/test_harness_init_scale/m227.ts new file mode 100644 index 000000000..60c896427 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m227.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #227 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_226 } from "./m226"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_227: number = VAL_226 + 1; +if (_chain_227 < 0) throw new Error("chain check"); +export const VAL_227: number = 1227; + +export class Cls_227 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_227` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_227"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m228.ts b/test-files/multi/test_harness_init_scale/m228.ts new file mode 100644 index 000000000..1b3d09f51 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m228.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #228 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_227 } from "./m227"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_228: number = VAL_227 + 1; +if (_chain_228 < 0) throw new Error("chain check"); +export const VAL_228: number = 1228; + +export class Cls_228 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_228` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_228"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m229.ts b/test-files/multi/test_harness_init_scale/m229.ts new file mode 100644 index 000000000..dda6ec4cf --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m229.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #229 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_228 } from "./m228"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_229: number = VAL_228 + 1; +if (_chain_229 < 0) throw new Error("chain check"); +export const VAL_229: number = 1229; + +export class Cls_229 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_229` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_229"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m230.ts b/test-files/multi/test_harness_init_scale/m230.ts new file mode 100644 index 000000000..4f3ca739e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m230.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #230 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_229 } from "./m229"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_230: number = VAL_229 + 1; +if (_chain_230 < 0) throw new Error("chain check"); +export const VAL_230: number = 1230; + +export class Cls_230 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_230` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_230"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m231.ts b/test-files/multi/test_harness_init_scale/m231.ts new file mode 100644 index 000000000..8725653c4 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m231.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #231 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_230 } from "./m230"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_231: number = VAL_230 + 1; +if (_chain_231 < 0) throw new Error("chain check"); +export const VAL_231: number = 1231; + +export class Cls_231 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_231` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_231"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m232.ts b/test-files/multi/test_harness_init_scale/m232.ts new file mode 100644 index 000000000..6d4294792 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m232.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #232 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_231 } from "./m231"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_232: number = VAL_231 + 1; +if (_chain_232 < 0) throw new Error("chain check"); +export const VAL_232: number = 1232; + +export class Cls_232 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_232` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_232"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m233.ts b/test-files/multi/test_harness_init_scale/m233.ts new file mode 100644 index 000000000..972e25179 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m233.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #233 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_232 } from "./m232"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_233: number = VAL_232 + 1; +if (_chain_233 < 0) throw new Error("chain check"); +export const VAL_233: number = 1233; + +export class Cls_233 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_233` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_233"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m234.ts b/test-files/multi/test_harness_init_scale/m234.ts new file mode 100644 index 000000000..4017a123e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m234.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #234 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_233 } from "./m233"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_234: number = VAL_233 + 1; +if (_chain_234 < 0) throw new Error("chain check"); +export const VAL_234: number = 1234; + +export class Cls_234 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_234` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_234"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m235.ts b/test-files/multi/test_harness_init_scale/m235.ts new file mode 100644 index 000000000..5992d7123 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m235.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #235 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_234 } from "./m234"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_235: number = VAL_234 + 1; +if (_chain_235 < 0) throw new Error("chain check"); +export const VAL_235: number = 1235; + +export class Cls_235 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_235` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_235"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m236.ts b/test-files/multi/test_harness_init_scale/m236.ts new file mode 100644 index 000000000..1905fd914 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m236.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #236 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_235 } from "./m235"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_236: number = VAL_235 + 1; +if (_chain_236 < 0) throw new Error("chain check"); +export const VAL_236: number = 1236; + +export class Cls_236 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_236` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_236"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m237.ts b/test-files/multi/test_harness_init_scale/m237.ts new file mode 100644 index 000000000..bc21ec8a1 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m237.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #237 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_236 } from "./m236"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_237: number = VAL_236 + 1; +if (_chain_237 < 0) throw new Error("chain check"); +export const VAL_237: number = 1237; + +export class Cls_237 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_237` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_237"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m238.ts b/test-files/multi/test_harness_init_scale/m238.ts new file mode 100644 index 000000000..38a974d11 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m238.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #238 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_237 } from "./m237"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_238: number = VAL_237 + 1; +if (_chain_238 < 0) throw new Error("chain check"); +export const VAL_238: number = 1238; + +export class Cls_238 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_238` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_238"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m239.ts b/test-files/multi/test_harness_init_scale/m239.ts new file mode 100644 index 000000000..ee213445e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m239.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #239 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_238 } from "./m238"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_239: number = VAL_238 + 1; +if (_chain_239 < 0) throw new Error("chain check"); +export const VAL_239: number = 1239; + +export class Cls_239 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_239` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_239"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m240.ts b/test-files/multi/test_harness_init_scale/m240.ts new file mode 100644 index 000000000..8b2144c6a --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m240.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #240 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_239 } from "./m239"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_240: number = VAL_239 + 1; +if (_chain_240 < 0) throw new Error("chain check"); +export const VAL_240: number = 1240; + +export class Cls_240 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_240` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_240"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m241.ts b/test-files/multi/test_harness_init_scale/m241.ts new file mode 100644 index 000000000..433fa129b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m241.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #241 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_240 } from "./m240"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_241: number = VAL_240 + 1; +if (_chain_241 < 0) throw new Error("chain check"); +export const VAL_241: number = 1241; + +export class Cls_241 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_241` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_241"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m242.ts b/test-files/multi/test_harness_init_scale/m242.ts new file mode 100644 index 000000000..04aeb156e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m242.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #242 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_241 } from "./m241"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_242: number = VAL_241 + 1; +if (_chain_242 < 0) throw new Error("chain check"); +export const VAL_242: number = 1242; + +export class Cls_242 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_242` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_242"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m243.ts b/test-files/multi/test_harness_init_scale/m243.ts new file mode 100644 index 000000000..27a0a1687 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m243.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #243 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_242 } from "./m242"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_243: number = VAL_242 + 1; +if (_chain_243 < 0) throw new Error("chain check"); +export const VAL_243: number = 1243; + +export class Cls_243 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_243` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_243"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m244.ts b/test-files/multi/test_harness_init_scale/m244.ts new file mode 100644 index 000000000..3666905f7 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m244.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #244 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_243 } from "./m243"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_244: number = VAL_243 + 1; +if (_chain_244 < 0) throw new Error("chain check"); +export const VAL_244: number = 1244; + +export class Cls_244 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_244` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_244"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m245.ts b/test-files/multi/test_harness_init_scale/m245.ts new file mode 100644 index 000000000..6088acbff --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m245.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #245 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_244 } from "./m244"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_245: number = VAL_244 + 1; +if (_chain_245 < 0) throw new Error("chain check"); +export const VAL_245: number = 1245; + +export class Cls_245 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_245` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_245"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m246.ts b/test-files/multi/test_harness_init_scale/m246.ts new file mode 100644 index 000000000..f7fb885be --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m246.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #246 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_245 } from "./m245"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_246: number = VAL_245 + 1; +if (_chain_246 < 0) throw new Error("chain check"); +export const VAL_246: number = 1246; + +export class Cls_246 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_246` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_246"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m247.ts b/test-files/multi/test_harness_init_scale/m247.ts new file mode 100644 index 000000000..f8384751c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m247.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #247 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_246 } from "./m246"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_247: number = VAL_246 + 1; +if (_chain_247 < 0) throw new Error("chain check"); +export const VAL_247: number = 1247; + +export class Cls_247 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_247` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_247"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m248.ts b/test-files/multi/test_harness_init_scale/m248.ts new file mode 100644 index 000000000..eba69fbdd --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m248.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #248 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_247 } from "./m247"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_248: number = VAL_247 + 1; +if (_chain_248 < 0) throw new Error("chain check"); +export const VAL_248: number = 1248; + +export class Cls_248 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_248` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_248"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m249.ts b/test-files/multi/test_harness_init_scale/m249.ts new file mode 100644 index 000000000..64f805c5d --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m249.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #249 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_248 } from "./m248"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_249: number = VAL_248 + 1; +if (_chain_249 < 0) throw new Error("chain check"); +export const VAL_249: number = 1249; + +export class Cls_249 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_249` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_249"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m250.ts b/test-files/multi/test_harness_init_scale/m250.ts new file mode 100644 index 000000000..3bcbb8648 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m250.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #250 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_249 } from "./m249"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_250: number = VAL_249 + 1; +if (_chain_250 < 0) throw new Error("chain check"); +export const VAL_250: number = 1250; + +export class Cls_250 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_250` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_250"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m251.ts b/test-files/multi/test_harness_init_scale/m251.ts new file mode 100644 index 000000000..2b2af36ba --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m251.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #251 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_250 } from "./m250"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_251: number = VAL_250 + 1; +if (_chain_251 < 0) throw new Error("chain check"); +export const VAL_251: number = 1251; + +export class Cls_251 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_251` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_251"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m252.ts b/test-files/multi/test_harness_init_scale/m252.ts new file mode 100644 index 000000000..758b99df8 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m252.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #252 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_251 } from "./m251"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_252: number = VAL_251 + 1; +if (_chain_252 < 0) throw new Error("chain check"); +export const VAL_252: number = 1252; + +export class Cls_252 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_252` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_252"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m253.ts b/test-files/multi/test_harness_init_scale/m253.ts new file mode 100644 index 000000000..2fc042c5d --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m253.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #253 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_252 } from "./m252"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_253: number = VAL_252 + 1; +if (_chain_253 < 0) throw new Error("chain check"); +export const VAL_253: number = 1253; + +export class Cls_253 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_253` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_253"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m254.ts b/test-files/multi/test_harness_init_scale/m254.ts new file mode 100644 index 000000000..22899796b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m254.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #254 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_253 } from "./m253"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_254: number = VAL_253 + 1; +if (_chain_254 < 0) throw new Error("chain check"); +export const VAL_254: number = 1254; + +export class Cls_254 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_254` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_254"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m255.ts b/test-files/multi/test_harness_init_scale/m255.ts new file mode 100644 index 000000000..7708799aa --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m255.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #255 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_254 } from "./m254"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_255: number = VAL_254 + 1; +if (_chain_255 < 0) throw new Error("chain check"); +export const VAL_255: number = 1255; + +export class Cls_255 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_255` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_255"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m256.ts b/test-files/multi/test_harness_init_scale/m256.ts new file mode 100644 index 000000000..e62e9855d --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m256.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #256 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_255 } from "./m255"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_256: number = VAL_255 + 1; +if (_chain_256 < 0) throw new Error("chain check"); +export const VAL_256: number = 1256; + +export class Cls_256 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_256` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_256"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m257.ts b/test-files/multi/test_harness_init_scale/m257.ts new file mode 100644 index 000000000..a4235092a --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m257.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #257 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_256 } from "./m256"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_257: number = VAL_256 + 1; +if (_chain_257 < 0) throw new Error("chain check"); +export const VAL_257: number = 1257; + +export class Cls_257 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_257` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_257"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m258.ts b/test-files/multi/test_harness_init_scale/m258.ts new file mode 100644 index 000000000..1f18ac361 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m258.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #258 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_257 } from "./m257"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_258: number = VAL_257 + 1; +if (_chain_258 < 0) throw new Error("chain check"); +export const VAL_258: number = 1258; + +export class Cls_258 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_258` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_258"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m259.ts b/test-files/multi/test_harness_init_scale/m259.ts new file mode 100644 index 000000000..7b10066db --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m259.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #259 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_258 } from "./m258"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_259: number = VAL_258 + 1; +if (_chain_259 < 0) throw new Error("chain check"); +export const VAL_259: number = 1259; + +export class Cls_259 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_259` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_259"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m260.ts b/test-files/multi/test_harness_init_scale/m260.ts new file mode 100644 index 000000000..0b55d28b8 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m260.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #260 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_259 } from "./m259"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_260: number = VAL_259 + 1; +if (_chain_260 < 0) throw new Error("chain check"); +export const VAL_260: number = 1260; + +export class Cls_260 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_260` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_260"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m261.ts b/test-files/multi/test_harness_init_scale/m261.ts new file mode 100644 index 000000000..1fa1dfcb8 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m261.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #261 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_260 } from "./m260"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_261: number = VAL_260 + 1; +if (_chain_261 < 0) throw new Error("chain check"); +export const VAL_261: number = 1261; + +export class Cls_261 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_261` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_261"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m262.ts b/test-files/multi/test_harness_init_scale/m262.ts new file mode 100644 index 000000000..e8f20823c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m262.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #262 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_261 } from "./m261"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_262: number = VAL_261 + 1; +if (_chain_262 < 0) throw new Error("chain check"); +export const VAL_262: number = 1262; + +export class Cls_262 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_262` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_262"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m263.ts b/test-files/multi/test_harness_init_scale/m263.ts new file mode 100644 index 000000000..14fbd76d2 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m263.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #263 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_262 } from "./m262"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_263: number = VAL_262 + 1; +if (_chain_263 < 0) throw new Error("chain check"); +export const VAL_263: number = 1263; + +export class Cls_263 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_263` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_263"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m264.ts b/test-files/multi/test_harness_init_scale/m264.ts new file mode 100644 index 000000000..8f2e18615 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m264.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #264 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_263 } from "./m263"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_264: number = VAL_263 + 1; +if (_chain_264 < 0) throw new Error("chain check"); +export const VAL_264: number = 1264; + +export class Cls_264 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_264` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_264"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m265.ts b/test-files/multi/test_harness_init_scale/m265.ts new file mode 100644 index 000000000..e8cbe6d1e --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m265.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #265 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_264 } from "./m264"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_265: number = VAL_264 + 1; +if (_chain_265 < 0) throw new Error("chain check"); +export const VAL_265: number = 1265; + +export class Cls_265 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_265` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_265"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m266.ts b/test-files/multi/test_harness_init_scale/m266.ts new file mode 100644 index 000000000..a08e72da7 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m266.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #266 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_265 } from "./m265"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_266: number = VAL_265 + 1; +if (_chain_266 < 0) throw new Error("chain check"); +export const VAL_266: number = 1266; + +export class Cls_266 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_266` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_266"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m267.ts b/test-files/multi/test_harness_init_scale/m267.ts new file mode 100644 index 000000000..11f6d3c19 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m267.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #267 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_266 } from "./m266"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_267: number = VAL_266 + 1; +if (_chain_267 < 0) throw new Error("chain check"); +export const VAL_267: number = 1267; + +export class Cls_267 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_267` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_267"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m268.ts b/test-files/multi/test_harness_init_scale/m268.ts new file mode 100644 index 000000000..ea63bda5c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m268.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #268 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_267 } from "./m267"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_268: number = VAL_267 + 1; +if (_chain_268 < 0) throw new Error("chain check"); +export const VAL_268: number = 1268; + +export class Cls_268 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_268` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_268"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m269.ts b/test-files/multi/test_harness_init_scale/m269.ts new file mode 100644 index 000000000..103bc2b25 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m269.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #269 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_268 } from "./m268"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_269: number = VAL_268 + 1; +if (_chain_269 < 0) throw new Error("chain check"); +export const VAL_269: number = 1269; + +export class Cls_269 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_269` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_269"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m270.ts b/test-files/multi/test_harness_init_scale/m270.ts new file mode 100644 index 000000000..2bd368fae --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m270.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #270 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_269 } from "./m269"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_270: number = VAL_269 + 1; +if (_chain_270 < 0) throw new Error("chain check"); +export const VAL_270: number = 1270; + +export class Cls_270 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_270` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_270"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m271.ts b/test-files/multi/test_harness_init_scale/m271.ts new file mode 100644 index 000000000..d34078f28 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m271.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #271 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_270 } from "./m270"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_271: number = VAL_270 + 1; +if (_chain_271 < 0) throw new Error("chain check"); +export const VAL_271: number = 1271; + +export class Cls_271 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_271` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_271"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m272.ts b/test-files/multi/test_harness_init_scale/m272.ts new file mode 100644 index 000000000..737232e60 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m272.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #272 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_271 } from "./m271"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_272: number = VAL_271 + 1; +if (_chain_272 < 0) throw new Error("chain check"); +export const VAL_272: number = 1272; + +export class Cls_272 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_272` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_272"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m273.ts b/test-files/multi/test_harness_init_scale/m273.ts new file mode 100644 index 000000000..5dc68a2b7 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m273.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #273 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_272 } from "./m272"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_273: number = VAL_272 + 1; +if (_chain_273 < 0) throw new Error("chain check"); +export const VAL_273: number = 1273; + +export class Cls_273 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_273` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_273"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m274.ts b/test-files/multi/test_harness_init_scale/m274.ts new file mode 100644 index 000000000..2edca13be --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m274.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #274 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_273 } from "./m273"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_274: number = VAL_273 + 1; +if (_chain_274 < 0) throw new Error("chain check"); +export const VAL_274: number = 1274; + +export class Cls_274 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_274` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_274"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m275.ts b/test-files/multi/test_harness_init_scale/m275.ts new file mode 100644 index 000000000..3c7e1216f --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m275.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #275 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_274 } from "./m274"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_275: number = VAL_274 + 1; +if (_chain_275 < 0) throw new Error("chain check"); +export const VAL_275: number = 1275; + +export class Cls_275 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_275` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_275"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m276.ts b/test-files/multi/test_harness_init_scale/m276.ts new file mode 100644 index 000000000..e0de3cf51 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m276.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #276 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_275 } from "./m275"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_276: number = VAL_275 + 1; +if (_chain_276 < 0) throw new Error("chain check"); +export const VAL_276: number = 1276; + +export class Cls_276 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_276` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_276"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m277.ts b/test-files/multi/test_harness_init_scale/m277.ts new file mode 100644 index 000000000..35acfa3d4 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m277.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #277 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_276 } from "./m276"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_277: number = VAL_276 + 1; +if (_chain_277 < 0) throw new Error("chain check"); +export const VAL_277: number = 1277; + +export class Cls_277 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_277` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_277"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m278.ts b/test-files/multi/test_harness_init_scale/m278.ts new file mode 100644 index 000000000..6c05c96f7 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m278.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #278 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_277 } from "./m277"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_278: number = VAL_277 + 1; +if (_chain_278 < 0) throw new Error("chain check"); +export const VAL_278: number = 1278; + +export class Cls_278 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_278` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_278"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m279.ts b/test-files/multi/test_harness_init_scale/m279.ts new file mode 100644 index 000000000..ea3d88d36 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m279.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #279 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_278 } from "./m278"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_279: number = VAL_278 + 1; +if (_chain_279 < 0) throw new Error("chain check"); +export const VAL_279: number = 1279; + +export class Cls_279 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_279` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_279"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m280.ts b/test-files/multi/test_harness_init_scale/m280.ts new file mode 100644 index 000000000..5fddfaa26 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m280.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #280 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_279 } from "./m279"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_280: number = VAL_279 + 1; +if (_chain_280 < 0) throw new Error("chain check"); +export const VAL_280: number = 1280; + +export class Cls_280 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_280` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_280"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m281.ts b/test-files/multi/test_harness_init_scale/m281.ts new file mode 100644 index 000000000..7478ce7c0 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m281.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #281 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_280 } from "./m280"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_281: number = VAL_280 + 1; +if (_chain_281 < 0) throw new Error("chain check"); +export const VAL_281: number = 1281; + +export class Cls_281 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_281` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_281"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m282.ts b/test-files/multi/test_harness_init_scale/m282.ts new file mode 100644 index 000000000..483c00afd --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m282.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #282 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_281 } from "./m281"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_282: number = VAL_281 + 1; +if (_chain_282 < 0) throw new Error("chain check"); +export const VAL_282: number = 1282; + +export class Cls_282 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_282` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_282"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m283.ts b/test-files/multi/test_harness_init_scale/m283.ts new file mode 100644 index 000000000..62e360e58 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m283.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #283 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_282 } from "./m282"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_283: number = VAL_282 + 1; +if (_chain_283 < 0) throw new Error("chain check"); +export const VAL_283: number = 1283; + +export class Cls_283 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_283` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_283"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m284.ts b/test-files/multi/test_harness_init_scale/m284.ts new file mode 100644 index 000000000..8f68090f9 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m284.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #284 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_283 } from "./m283"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_284: number = VAL_283 + 1; +if (_chain_284 < 0) throw new Error("chain check"); +export const VAL_284: number = 1284; + +export class Cls_284 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_284` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_284"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m285.ts b/test-files/multi/test_harness_init_scale/m285.ts new file mode 100644 index 000000000..e7b587f7f --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m285.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #285 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_284 } from "./m284"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_285: number = VAL_284 + 1; +if (_chain_285 < 0) throw new Error("chain check"); +export const VAL_285: number = 1285; + +export class Cls_285 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_285` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_285"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m286.ts b/test-files/multi/test_harness_init_scale/m286.ts new file mode 100644 index 000000000..e6d3abdf0 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m286.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #286 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_285 } from "./m285"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_286: number = VAL_285 + 1; +if (_chain_286 < 0) throw new Error("chain check"); +export const VAL_286: number = 1286; + +export class Cls_286 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_286` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_286"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m287.ts b/test-files/multi/test_harness_init_scale/m287.ts new file mode 100644 index 000000000..d4f4bfbc6 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m287.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #287 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_286 } from "./m286"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_287: number = VAL_286 + 1; +if (_chain_287 < 0) throw new Error("chain check"); +export const VAL_287: number = 1287; + +export class Cls_287 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_287` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_287"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m288.ts b/test-files/multi/test_harness_init_scale/m288.ts new file mode 100644 index 000000000..590310ee7 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m288.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #288 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_287 } from "./m287"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_288: number = VAL_287 + 1; +if (_chain_288 < 0) throw new Error("chain check"); +export const VAL_288: number = 1288; + +export class Cls_288 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_288` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_288"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m289.ts b/test-files/multi/test_harness_init_scale/m289.ts new file mode 100644 index 000000000..f325e227b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m289.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #289 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_288 } from "./m288"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_289: number = VAL_288 + 1; +if (_chain_289 < 0) throw new Error("chain check"); +export const VAL_289: number = 1289; + +export class Cls_289 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_289` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_289"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m290.ts b/test-files/multi/test_harness_init_scale/m290.ts new file mode 100644 index 000000000..4960622ff --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m290.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #290 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_289 } from "./m289"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_290: number = VAL_289 + 1; +if (_chain_290 < 0) throw new Error("chain check"); +export const VAL_290: number = 1290; + +export class Cls_290 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_290` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_290"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m291.ts b/test-files/multi/test_harness_init_scale/m291.ts new file mode 100644 index 000000000..6f9e362ee --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m291.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #291 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_290 } from "./m290"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_291: number = VAL_290 + 1; +if (_chain_291 < 0) throw new Error("chain check"); +export const VAL_291: number = 1291; + +export class Cls_291 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_291` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_291"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m292.ts b/test-files/multi/test_harness_init_scale/m292.ts new file mode 100644 index 000000000..bf7b4c558 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m292.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #292 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_291 } from "./m291"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_292: number = VAL_291 + 1; +if (_chain_292 < 0) throw new Error("chain check"); +export const VAL_292: number = 1292; + +export class Cls_292 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_292` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_292"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m293.ts b/test-files/multi/test_harness_init_scale/m293.ts new file mode 100644 index 000000000..60e7ef113 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m293.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #293 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_292 } from "./m292"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_293: number = VAL_292 + 1; +if (_chain_293 < 0) throw new Error("chain check"); +export const VAL_293: number = 1293; + +export class Cls_293 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_293` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_293"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m294.ts b/test-files/multi/test_harness_init_scale/m294.ts new file mode 100644 index 000000000..035d59f7c --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m294.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #294 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_293 } from "./m293"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_294: number = VAL_293 + 1; +if (_chain_294 < 0) throw new Error("chain check"); +export const VAL_294: number = 1294; + +export class Cls_294 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_294` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_294"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m295.ts b/test-files/multi/test_harness_init_scale/m295.ts new file mode 100644 index 000000000..73e2d9640 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m295.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #295 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_294 } from "./m294"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_295: number = VAL_294 + 1; +if (_chain_295 < 0) throw new Error("chain check"); +export const VAL_295: number = 1295; + +export class Cls_295 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_295` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_295"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m296.ts b/test-files/multi/test_harness_init_scale/m296.ts new file mode 100644 index 000000000..f7e8d6a7b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m296.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #296 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_295 } from "./m295"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_296: number = VAL_295 + 1; +if (_chain_296 < 0) throw new Error("chain check"); +export const VAL_296: number = 1296; + +export class Cls_296 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_296` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_296"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m297.ts b/test-files/multi/test_harness_init_scale/m297.ts new file mode 100644 index 000000000..8150ae833 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m297.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #297 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_296 } from "./m296"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_297: number = VAL_296 + 1; +if (_chain_297 < 0) throw new Error("chain check"); +export const VAL_297: number = 1297; + +export class Cls_297 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_297` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_297"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m298.ts b/test-files/multi/test_harness_init_scale/m298.ts new file mode 100644 index 000000000..1c8edda7b --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m298.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #298 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_297 } from "./m297"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_298: number = VAL_297 + 1; +if (_chain_298 < 0) throw new Error("chain check"); +export const VAL_298: number = 1298; + +export class Cls_298 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_298` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_298"; + } +} diff --git a/test-files/multi/test_harness_init_scale/m299.ts b/test-files/multi/test_harness_init_scale/m299.ts new file mode 100644 index 000000000..bd2199d97 --- /dev/null +++ b/test-files/multi/test_harness_init_scale/m299.ts @@ -0,0 +1,22 @@ +// Auto-generated by generate.py — do not hand-edit; rerun the generator. +// Module #299 in the #808 init-scale chain. Each module imports its +// predecessor so Perry's module init order has to walk the chain end +// to end (#684 conditions). The class+const pair gives the harness two +// independent state-isolation probes. +import { VAL_298 } from "./m298"; +// Reference the predecessor in a top-level expression to +// guarantee the import survives DCE and the predecessor +// init runs before ours. +const _chain_299: number = VAL_298 + 1; +if (_chain_299 < 0) throw new Error("chain check"); +export const VAL_299: number = 1299; + +export class Cls_299 { + // `tag()` returns a string baked from the module index. After 300+ + // inits, Perry must still dispatch this method on a `Cls_299` + // instance (not Cls_0 / Cls_299 / a phantom shape) and the return + // must be a string (not 0, undefined, or a NaN-box leak). + tag(): string { + return "Cls_299"; + } +}