diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-26 00:46:31 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-26 00:46:31 -0400 |
| commit | 794cffd4da6694d06d1a7c6f77c157e58354ac25 (patch) | |
| tree | d0843c152376b17018b7c616ab346e5f01d7286b /src | |
| parent | b5dee4f7ed1b8181df22a9824b7026a125ebbc53 (diff) | |
Fix typo
Diffstat (limited to 'src')
| -rw-r--r-- | src/formatter/types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formatter/types.c b/src/formatter/types.c index 24171984..e52faf70 100644 --- a/src/formatter/types.c +++ b/src/formatter/types.c @@ -18,7 +18,7 @@ Text_t format_type(type_ast_t *type) { return Texts("[", format_type(Match(type, ListTypeAST)->item), "]"); } case SetTypeAST: { - return Texts("|", format_type(Match(type, ListTypeAST)->item), "|"); + return Texts("|", format_type(Match(type, SetTypeAST)->item), "|"); } case TableTypeAST: { DeclareMatch(table, type, TableTypeAST); |
