mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Remove the anonymous error type.
This commit is contained in:
parent
a3d72521d8
commit
5dfd596b72
@ -43,7 +43,6 @@ func termWithInput(string: String) -> Term? {
|
||||
ts_document_parse(document)
|
||||
let root = ts_document_root_node(document)
|
||||
|
||||
struct E: ErrorType {}
|
||||
return try? Cofree
|
||||
.ana { node, category in
|
||||
let count = node.namedChildren.count
|
||||
|
Loading…
Reference in New Issue
Block a user