File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
swift/ql/lib/codeql/swift Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -426,10 +426,10 @@ private Element interpretElement0(
426426 result = method
427427 |
428428 subtypes = true and
429- decl .resolveExtensions ( ) = nomTypeDecl .getADerivedTypeDecl * ( )
429+ decl .getNominalTypeDecl ( ) = nomTypeDecl .getADerivedTypeDecl * ( )
430430 or
431431 subtypes = false and
432- decl .resolveExtensions ( ) = nomTypeDecl
432+ decl .getNominalTypeDecl ( ) = nomTypeDecl
433433 )
434434 or
435435 // Fields
@@ -441,10 +441,10 @@ private Element interpretElement0(
441441 result = field
442442 |
443443 subtypes = true and
444- decl .resolveExtensions ( ) = nomTypeDecl .getADerivedTypeDecl * ( )
444+ decl .getNominalTypeDecl ( ) = nomTypeDecl .getADerivedTypeDecl * ( )
445445 or
446446 subtypes = false and
447- decl .resolveExtensions ( ) = nomTypeDecl
447+ decl .getNominalTypeDecl ( ) = nomTypeDecl
448448 )
449449 )
450450}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class IterableDeclContext extends Generated::IterableDeclContext {
1010 * Gets the `NominalTypeDecl` corresponding to this `IterableDeclContext`
1111 * resolving an extension to the extended type declaration.
1212 */
13- NominalTypeDecl resolveExtensions ( ) {
13+ NominalTypeDecl getNominalTypeDecl ( ) {
1414 result = this .( NominalTypeDecl )
1515 or
1616 result = this .( ExtensionDecl ) .getExtendedTypeDecl ( )
You can’t perform that action at this time.
0 commit comments