Skip to content

Commit 66e9002

Browse files
fix(affine): migrate record literal to #{ } (affinescript#218) (#73)
affinescript#218 (merged): bare `{`=block, records `#{ }`. One anon record literal migrated; parses clean. Refs hyperpolymath/affinescript#218 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2c9b62b commit 66e9002

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)