diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-04-13 13:39:44 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-04-13 13:39:44 -0400 |
| commit | 63e6ba596ae8e35727289a69b11d5640bfc5e49e (patch) | |
| tree | 2a6e3022103f42898da7c02640e2dab817b36b88 /types.c | |
| parent | cc0763713495a2b5b154d318772fc7f745e96635 (diff) | |
Change table syntax to {key:value} instead of {key=>value}
Diffstat (limited to 'types.c')
| -rw-r--r-- | types.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ CORD type_to_cord(type_t *t) { } case TableType: { auto table = Match(t, TableType); - return CORD_asprintf("{%r=>%r}", type_to_cord(table->key_type), type_to_cord(table->value_type)); + return CORD_asprintf("{%r:%r}", type_to_cord(table->key_type), type_to_cord(table->value_type)); } case ClosureType: { return type_to_cord(Match(t, ClosureType)->fn); |
