File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
crates/pgt_workspace/src/workspace/server Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ impl AnnotationStore {
4747 annotations
4848 }
4949
50- #[ allow( unused) ]
5150 pub fn clear_statement ( & self , id : & StatementId ) {
5251 self . db . remove ( id) ;
5352
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ impl ParsedDocument {
7373 self . cst_db . remove_statement ( s) ;
7474 self . ast_db . clear_statement ( s) ;
7575 self . sql_fn_db . clear_statement ( s) ;
76+ self . annotation_db . clear_statement ( s) ;
7677 }
7778 StatementChange :: Modified ( s) => {
7879 tracing:: debug!(
@@ -88,6 +89,7 @@ impl ParsedDocument {
8889 self . cst_db . modify_statement ( s) ;
8990 self . ast_db . clear_statement ( & s. old_stmt ) ;
9091 self . sql_fn_db . clear_statement ( & s. old_stmt ) ;
92+ self . annotation_db . clear_statement ( & s. old_stmt ) ;
9193 }
9294 }
9395 }
You can’t perform that action at this time.
0 commit comments