Added a TODO comment

This commit is contained in:
Alexandros Naskos 2020-06-18 15:14:55 +03:00
parent 16b44a334b
commit 2dc7b609d1

View File

@ -177,6 +177,7 @@ fn colorIdentifierBasedOnType(builder: *Builder, type_node: analysis.TypeWithHan
}
}
// TODO This is very slow and does a lot of extra work, improve in the future.
fn writeNodeTokens(builder: *Builder, arena: *std.heap.ArenaAllocator, store: *DocumentStore, maybe_node: ?*ast.Node) error{OutOfMemory}!void {
if (maybe_node == null) return;
const node = maybe_node.?;