Skip to content

Commit 6f5300a

Browse files
hyperpolymathclaude
andcommitted
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) <noreply@anthropic.com>
1 parent 2c9b62b commit 6f5300a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

affinescript-ecosystem/affinescript-deno-test/example/codegen_regression_test.affine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fn advance(s: Lifecycle) -> Lifecycle {
4040
}
4141

4242
fn make_counters() -> Counters {
43-
{ tag: 1, profile_id: 42, activity_count: 7 }
43+
#{ tag: 1, profile_id: 42, activity_count: 7 }
4444
}
4545

4646
fn read_profile_id(c: Counters) -> Int {

0 commit comments

Comments
 (0)