Skip to content

Commit

Permalink
Merge pull request #1026 from ppedrot/tok-rm-equal-le-retour
Browse files Browse the repository at this point in the history
Actually remove the newly introduced call to Tok.equal.
  • Loading branch information
SkySkimmer authored Feb 4, 2025
2 parents 85594dd + 74e7918 commit cfcb7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion language-server/dm/document.ml
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ let same_tokens (s1 : sentence) (s2 : pre_sentence) =
match s1.ast, s2.ast with
| Error _, Error _ -> false
| Parsed ast1, Parsed ast2 ->
CList.equal Tok.equal ast1.tokens ast2.tokens
CList.equal tok_equal ast1.tokens ast2.tokens
| _, _ -> false

(* TODO improve diff strategy (insertions,etc) *)
Expand Down

0 comments on commit cfcb7e4

Please sign in to comment.