Skip to content

Commit dd75694

Browse files
committed
fix(renderer): Fix bad token index of closing delimiter of list explicit type
1 parent c2ad601 commit dd75694

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/renderer.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@ pub const Renderer = struct {
15661566

15671567
// >
15681568
try self.renderExpectedToken(
1569-
locations[item_type] + 1,
1569+
end_locations[item_type] + 1,
15701570
.Greater,
15711571
if (has_trailing_comma)
15721572
.Comma

0 commit comments

Comments
 (0)