File tree 2 files changed +3
-3
lines changed
lib/ASTGen/Sources/ASTGen
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ extension ASTGenVisitor {
256
256
parameterList: self . visit ( node. signature. parameterClause) . rawValue,
257
257
asyncSpecifierLoc: ( node. signature. effectSpecifiers? . asyncSpecifier) . bridgedSourceLoc ( in: self ) ,
258
258
throwsSpecifierLoc: ( node. signature. effectSpecifiers? . throwsSpecifier) . bridgedSourceLoc ( in: self ) ,
259
- thrownType: self . visit ( node. signature. effectSpecifiers? . thrownType ? . type) ? . rawValue,
259
+ thrownType: self . visit ( node. signature. effectSpecifiers? . thrownError ? . type) ? . rawValue,
260
260
returnType: self . visit ( node. signature. returnClause? . type) ? . rawValue,
261
261
genericWhereClause: self . visit ( node. genericWhereClause) ? . rawValue
262
262
)
@@ -281,7 +281,7 @@ extension ASTGenVisitor {
281
281
parameterList: self . visit ( node. signature. parameterClause) . rawValue,
282
282
asyncSpecifierLoc: ( node. signature. effectSpecifiers? . asyncSpecifier) . bridgedSourceLoc ( in: self ) ,
283
283
throwsSpecifierLoc: ( node. signature. effectSpecifiers? . throwsSpecifier) . bridgedSourceLoc ( in: self ) ,
284
- thrownType: self . visit ( node. signature. effectSpecifiers? . thrownType ? . type) ? . rawValue,
284
+ thrownType: self . visit ( node. signature. effectSpecifiers? . thrownError ? . type) ? . rawValue,
285
285
genericWhereClause: self . visit ( node. genericWhereClause) ? . rawValue
286
286
)
287
287
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ extension ASTGenVisitor {
160
160
) ,
161
161
( node. effectSpecifiers? . asyncSpecifier) . bridgedSourceLoc ( in: self ) ,
162
162
( node. effectSpecifiers? . throwsSpecifier) . bridgedSourceLoc ( in: self ) ,
163
- self . visit ( node. effectSpecifiers? . thrownType ? . type) ? . rawValue,
163
+ self . visit ( node. effectSpecifiers? . thrownError ? . type) ? . rawValue,
164
164
node. returnClause. arrow. bridgedSourceLoc ( in: self ) ,
165
165
visit ( node. returnClause. type) . rawValue
166
166
)
You can’t perform that action at this time.
0 commit comments