src/Lsp.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 Feb 2024 06:44:20 +0000 (14:44 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 Feb 2024 06:44:20 +0000 (14:44 +0800)
src/Lsp.vala

index d13b916..d8d87c5 100644 (file)
@@ -229,7 +229,11 @@ namespace Lsp {
                
         }
         public bool equals(Lsp.Diagnostic o) {
-               return this.range.equals(o.range) && this.severity == o.severity && this.message == o.message;
+                       var ret = this.range.equals(o.range) && this.severity == o.severity && this.message == o.message;
+               GLib.debug("compare %s  (%s == %s)", ret ? "YES" : "NO", this.to_string(), o.to_string()); 
+               
+               
+               return ret;
         }
         public string to_string()
         {