@@ -259,6 +259,10 @@ extension CompilerWithSource: StmtSyntaxVisitor {
259259 return typeCheck ( stmt, isReadOnly: false )
260260 }
261261
262+ mutating func visit( _ stmt: DropViewStmtSyntax ) -> ( Statement , Diagnostics ) ? {
263+ return typeCheck ( stmt, isReadOnly: false )
264+ }
265+
262266 mutating func visit( _ stmt: CreateVirtualTableStmtSyntax ) -> ( Statement , Diagnostics ) ? {
263267 return typeCheck ( stmt, isReadOnly: false )
264268 }
@@ -288,6 +292,7 @@ struct IsValidForMigrations: StmtSyntaxVisitor {
288292 func visit( _ stmt: borrowing DropIndexStmtSyntax ) -> Bool { true }
289293 func visit( _ stmt: borrowing ReindexStmtSyntax ) -> Bool { true }
290294 func visit( _ stmt: borrowing CreateViewStmtSyntax ) -> Bool { true }
295+ func visit( _ stmt: borrowing DropViewStmtSyntax ) -> Bool { true }
291296 func visit( _ stmt: borrowing CreateVirtualTableStmtSyntax ) -> Bool { true }
292297 func visit( _ stmt: borrowing CreateTriggerStmtSyntax ) -> Bool { true }
293298 func visit( _ stmt: borrowing DropTriggerStmtSyntax ) -> Bool { true }
@@ -309,6 +314,7 @@ struct IsValidForQueries: StmtSyntaxVisitor {
309314 func visit( _ stmt: borrowing DropIndexStmtSyntax ) -> Bool { false }
310315 func visit( _ stmt: borrowing ReindexStmtSyntax ) -> Bool { false }
311316 func visit( _ stmt: borrowing CreateViewStmtSyntax ) -> Bool { false }
317+ func visit( _ stmt: borrowing DropViewStmtSyntax ) -> Bool { false }
312318 func visit( _ stmt: borrowing CreateVirtualTableStmtSyntax ) -> Bool { false }
313319 func visit( _ stmt: borrowing CreateTriggerStmtSyntax ) -> Bool { false }
314320 func visit( _ stmt: borrowing DropTriggerStmtSyntax ) -> Bool { false }
@@ -330,6 +336,7 @@ struct IsAlwaysValid: StmtSyntaxVisitor {
330336 func visit( _ stmt: borrowing DropIndexStmtSyntax ) -> Bool { true }
331337 func visit( _ stmt: borrowing ReindexStmtSyntax ) -> Bool { true }
332338 func visit( _ stmt: borrowing CreateViewStmtSyntax ) -> Bool { true }
339+ func visit( _ stmt: borrowing DropViewStmtSyntax ) -> Bool { true }
333340 func visit( _ stmt: borrowing CreateVirtualTableStmtSyntax ) -> Bool { true }
334341 func visit( _ stmt: borrowing CreateTriggerStmtSyntax ) -> Bool { true }
335342 func visit( _ stmt: borrowing DropTriggerStmtSyntax ) -> Bool { true }
0 commit comments