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 {
195
195
}
196
196
197
197
func generateObjCSelectorExpr( freestandingMacroExpansion node: some FreestandingMacroExpansionSyntax ) -> BridgedObjCSelectorExpr {
198
- fatalError ( " unimplemented " )
198
+ fatalError ( " unimplemented (objc selector) " )
199
199
}
200
200
201
201
func generateObjCKeyPathExpr( freestandingMacroExpansion node: some FreestandingMacroExpansionSyntax ) -> BridgedKeyPathExpr {
202
- fatalError ( " unimplemented " )
202
+ fatalError ( " unimplemented (objc keypath) " )
203
203
}
204
204
}
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ extension ASTGenVisitor {
302
302
// Modifers.
303
303
case . accessControl:
304
304
// TODO: Diagnose and generateAccessControl().
305
- fatalError ( " unimplemented " )
305
+ fatalError ( " unimplemented (access control modifier parsed as attributes) " )
306
306
case . nonisolated:
307
307
// TODO: Diagnose.
308
308
return handle ( self . generateNonisolatedAttr ( attribute: node) ? . asDeclAttribute)
Original file line number Diff line number Diff line change @@ -738,7 +738,7 @@ extension ASTGenVisitor {
738
738
) . asExpr
739
739
740
740
case . method( _) :
741
- fatalError ( " unimplemented " )
741
+ fatalError ( " unimplemented (method keypath) " )
742
742
}
743
743
}
744
744
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ extension ASTGenVisitor {
50
50
case . labeledStmt( let node) :
51
51
return self . generate ( labeledStmt: node)
52
52
case . missingStmt:
53
- fatalError ( " unimplemented " )
53
+ fatalError ( " unimplemented (missing statement) " )
54
54
case . repeatStmt( let node) :
55
55
return self . generate ( repeatStmt: node) . asStmt
56
56
case . returnStmt( let node) :
@@ -234,7 +234,7 @@ extension ASTGenVisitor {
234
234
// FIXME: Implement.
235
235
// For `if let foo.bar {`, diagnose and convert it to `if let _ = foo.bar`
236
236
// For `if let (a, b) {`, diagnose it and create an error expression.
237
- fatalError ( " unimplemented " )
237
+ fatalError ( " unimplemented (optional binding recovery) " )
238
238
}
239
239
}
240
240
return . createPatternBinding(
You can’t perform that action at this time.
0 commit comments