Slice fix
This commit is contained in:
parent
7f6f9ec64e
commit
c33e01544a
@ -455,9 +455,6 @@ fn writeNodeTokens(builder: *Builder, arena: *std.heap.ArenaAllocator, store: *D
|
|||||||
try await @asyncCall(child_frame, {}, writeNodeTokens, builder, arena, store, info.len_expr);
|
try await @asyncCall(child_frame, {}, writeNodeTokens, builder, arena, store, info.len_expr);
|
||||||
},
|
},
|
||||||
.SliceType, .PtrType => |info| {
|
.SliceType, .PtrType => |info| {
|
||||||
if (prefix_op.op == .SliceType)
|
|
||||||
try writeToken(builder, prefix_op.op_token + 1, tok_type);
|
|
||||||
|
|
||||||
if (info.align_info) |align_info| {
|
if (info.align_info) |align_info| {
|
||||||
try writeToken(builder, align_info.node.firstToken() - 2, .keyword);
|
try writeToken(builder, align_info.node.firstToken() - 2, .keyword);
|
||||||
try await @asyncCall(child_frame, {}, writeNodeTokens, builder, arena, store, align_info.node);
|
try await @asyncCall(child_frame, {}, writeNodeTokens, builder, arena, store, align_info.node);
|
||||||
|
Loading…
Reference in New Issue
Block a user