We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64e79d1 commit b72c5d3Copy full SHA for b72c5d3
crates/pgt_workspace/src/workspace/server.rs
@@ -451,7 +451,7 @@ impl Workspace for WorkspaceServer {
451
if let Some(ast) = ast {
452
pgt_typecheck::check_sql(TypecheckParams {
453
conn: &pool,
454
- sql: &id.content(),
+ sql: id.content(),
455
ast: &ast,
456
tree: &cst,
457
schema_cache: schema_cache.as_ref(),
crates/pgt_workspace/src/workspace/server/document.rs
@@ -167,7 +167,7 @@ where
167
}
168
169
// Return the current statement if it passes the filter
170
- if self.filter.predicate(&root_id, &range, content) {
+ if self.filter.predicate(&root_id, range, content) {
171
return Some(self.mapper.map(self.parser, root_id, *range));
172
173
0 commit comments