File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
lib/ASTGen/Sources/ASTGen Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -195,10 +195,10 @@ extension ASTGenVisitor {
195195 }
196196
197197 func generateObjCSelectorExpr( freestandingMacroExpansion node: some FreestandingMacroExpansionSyntax ) -> BridgedObjCSelectorExpr {
198- fatalError ( " unimplemented " )
198+ fatalError ( " unimplemented (objc selector) " )
199199 }
200200
201201 func generateObjCKeyPathExpr( freestandingMacroExpansion node: some FreestandingMacroExpansionSyntax ) -> BridgedKeyPathExpr {
202- fatalError ( " unimplemented " )
202+ fatalError ( " unimplemented (objc keypath) " )
203203 }
204204}
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ extension ASTGenVisitor {
302302 // Modifers.
303303 case . accessControl:
304304 // TODO: Diagnose and generateAccessControl().
305- fatalError ( " unimplemented " )
305+ fatalError ( " unimplemented (access control modifier parsed as attributes) " )
306306 case . nonisolated:
307307 // TODO: Diagnose.
308308 return handle ( self . generateNonisolatedAttr ( attribute: node) ? . asDeclAttribute)
Original file line number Diff line number Diff line change @@ -738,7 +738,7 @@ extension ASTGenVisitor {
738738 ) . asExpr
739739
740740 case . method( _) :
741- fatalError ( " unimplemented " )
741+ fatalError ( " unimplemented (method keypath) " )
742742 }
743743 }
744744
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ extension ASTGenVisitor {
5050 case . labeledStmt( let node) :
5151 return self . generate ( labeledStmt: node)
5252 case . missingStmt:
53- fatalError ( " unimplemented " )
53+ fatalError ( " unimplemented (missing statement) " )
5454 case . repeatStmt( let node) :
5555 return self . generate ( repeatStmt: node) . asStmt
5656 case . returnStmt( let node) :
@@ -234,7 +234,7 @@ extension ASTGenVisitor {
234234 // FIXME: Implement.
235235 // For `if let foo.bar {`, diagnose and convert it to `if let _ = foo.bar`
236236 // For `if let (a, b) {`, diagnose it and create an error expression.
237- fatalError ( " unimplemented " )
237+ fatalError ( " unimplemented (optional binding recovery) " )
238238 }
239239 }
240240 return . createPatternBinding(
You can’t perform that action at this time.
0 commit comments