Skip to content

Commit a590ff3

Browse files
authored
Merge pull request #880 from julia-vscode/disable-comp
remove cst comparison check
2 parents 3c5fc4d + 9b7ce5d commit a590ff3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/requests/textdocument.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ function textDocument_didChange_notification(params::DidChangeTextDocumentParams
9696
StaticLint.clear_meta(cst0[i])
9797
end
9898
setcst(doc, EXPR(cst0.head, EXPR[cst0.args[r1]; cst1.args[r2]; cst0.args[r3]], nothing))
99-
comp(cst1, getcst(doc)) || @error "File didn't update properly." # expensive check, remove
10099
sizeof(get_text(doc)) == getcst(doc).fullspan || @error "CST does not match input string length."
101100
headof(doc.cst) === :file ? set_doc(doc.cst, doc) : @info "headof(doc) isn't :file for $(doc._path)"
102101

0 commit comments

Comments
 (0)