File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/ASTGen/Sources/ASTGen Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ extension ASTGenVisitor {
256256 parameterList: self . visit ( node. signature. parameterClause) . rawValue,
257257 asyncSpecifierLoc: ( node. signature. effectSpecifiers? . asyncSpecifier) . bridgedSourceLoc ( in: self ) ,
258258 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,
260260 returnType: self . visit ( node. signature. returnClause? . type) ? . rawValue,
261261 genericWhereClause: self . visit ( node. genericWhereClause) ? . rawValue
262262 )
@@ -281,7 +281,7 @@ extension ASTGenVisitor {
281281 parameterList: self . visit ( node. signature. parameterClause) . rawValue,
282282 asyncSpecifierLoc: ( node. signature. effectSpecifiers? . asyncSpecifier) . bridgedSourceLoc ( in: self ) ,
283283 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,
285285 genericWhereClause: self . visit ( node. genericWhereClause) ? . rawValue
286286 )
287287
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ extension ASTGenVisitor {
160160 ) ,
161161 ( node. effectSpecifiers? . asyncSpecifier) . bridgedSourceLoc ( in: self ) ,
162162 ( node. effectSpecifiers? . throwsSpecifier) . bridgedSourceLoc ( in: self ) ,
163- self . visit ( node. effectSpecifiers? . thrownType ? . type) ? . rawValue,
163+ self . visit ( node. effectSpecifiers? . thrownError ? . type) ? . rawValue,
164164 node. returnClause. arrow. bridgedSourceLoc ( in: self ) ,
165165 visit ( node. returnClause. type) . rawValue
166166 )
You can’t perform that action at this time.
0 commit comments