From 6f5300a5e041130c46d69c10d4ccd65bb035f0f5 Mon Sep 17 00:00:00 2001 From: hyperpolymath <6759885+hyperpolymath@users.noreply.github.com> Date: Mon, 18 May 2026 18:14:39 +0100 Subject: [PATCH] fix(affine): migrate record literal to #{ } (affinescript#218) affinescript#218 (merged): bare { = block, records use #{ }. Migrated the anonymous record literal in codegen_regression_test.affine. Parses clean under the new compiler. Refs hyperpolymath/affinescript#218 Co-Authored-By: Claude Opus 4.7 (1M context) --- .../example/codegen_regression_test.affine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/affinescript-ecosystem/affinescript-deno-test/example/codegen_regression_test.affine b/affinescript-ecosystem/affinescript-deno-test/example/codegen_regression_test.affine index 493b9c44..ca65a572 100644 --- a/affinescript-ecosystem/affinescript-deno-test/example/codegen_regression_test.affine +++ b/affinescript-ecosystem/affinescript-deno-test/example/codegen_regression_test.affine @@ -40,7 +40,7 @@ fn advance(s: Lifecycle) -> Lifecycle { } fn make_counters() -> Counters { - { tag: 1, profile_id: 42, activity_count: 7 } + #{ tag: 1, profile_id: 42, activity_count: 7 } } fn read_profile_id(c: Counters) -> Int {