https://linear.app/comm/issue/ENG-10205/update-flow-to-02691
v0.238.0: We now infer the type for Object.freeze({ A: "a", B: "b" }) as {+A: "a", +B: "b"}, ie we use readonly properties and singleton types for literal initializers.
Depends on D15011
Differential D15012 Authored by angelika on Jul 22 2025, 1:20 AM.
Details Summary https://linear.app/comm/issue/ENG-10205/update-flow-to-02691 v0.238.0: We now infer the type for Object.freeze({ A: "a", B: "b" }) as {+A: "a", +B: "b"}, ie we use readonly properties and singleton types for literal initializers. Depends on D15011 Test Plan Flow
Diff Detail
Event Timelineangelika held this revision as a draft. Herald added subscribers: tomek, ashoat. · View Herald TranscriptJul 22 2025, 1:20 AM2025-07-22 01:20:45 (UTC+0) Harbormaster completed remote builds in B34663: Diff 48862.Jul 22 2025, 1:22 AM2025-07-22 01:22:48 (UTC+0) Harbormaster completed remote builds in B34859: Diff 49066.Jul 24 2025, 4:22 PM2025-07-24 16:22:45 (UTC+0) This revision is now accepted and ready to land.Jul 28 2025, 4:15 PM2025-07-28 16:15:42 (UTC+0) Harbormaster completed remote builds in B35126: Diff 49377.Aug 9 2025, 12:20 PM2025-08-09 12:20:19 (UTC+0) Harbormaster completed remote builds in B35392: Diff 49681.Aug 21 2025, 12:42 PM2025-08-21 12:42:36 (UTC+0) Closed by commit rCOMM166f324271f8: [Flow262][skip-ci] Fix errors related to Object.freeze and readonly properties. · Explain WhyAug 21 2025, 7:32 PM2025-08-21 19:32:06 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 49377 |