1
Fork 0

Allow any error in recursive function

This commit is contained in:
Christofer Nolander 2023-10-17 07:47:31 +02:00 committed by GitHub
commit f1e2cf6e48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,7 +192,7 @@ pub fn findDefinition(
document: *Document,
node: u32,
references: *std.ArrayList(Reference),
) error{OutOfMemory}!void {
) anyerror!void {
const parse_tree = try document.parseTree();
const tree = parse_tree.tree;