mirror of
https://github.com/morluto/rea.git
synced 2026-10-29 02:45:58 +00:00
1 parent
f28c0fdfb0
commit
667f73aa54
3 files changed
+67
-4
No files matched your search
@@ -122,9 +122,7 @@ export const createTypeNamer = (
|
||||
if (rank === 0) fail("array rank is zero");
|
||||
result = join([
|
||||
yield* name(pointer(data, "array element"), depth + 1),
|
||||
"[",
|
||||
",".repeat(rank - 1),
|
||||
"]",
|
||||
rank === 1 ? "[*]" : `[${",".repeat(rank - 1)}]`,
|
||||
]);
|
||||
} else if (kind === 0x13 || kind === 0x1e)
|
||||
result =
|
||||
|
||||
Reference in new issue
Block a user