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(
426
426
result = method
427
427
|
428
428
subtypes = true and
429
- decl .resolveExtensions ( ) = nomTypeDecl .getADerivedTypeDecl * ( )
429
+ decl .getNominalTypeDecl ( ) = nomTypeDecl .getADerivedTypeDecl * ( )
430
430
or
431
431
subtypes = false and
432
- decl .resolveExtensions ( ) = nomTypeDecl
432
+ decl .getNominalTypeDecl ( ) = nomTypeDecl
433
433
)
434
434
or
435
435
// Fields
@@ -441,10 +441,10 @@ private Element interpretElement0(
441
441
result = field
442
442
|
443
443
subtypes = true and
444
- decl .resolveExtensions ( ) = nomTypeDecl .getADerivedTypeDecl * ( )
444
+ decl .getNominalTypeDecl ( ) = nomTypeDecl .getADerivedTypeDecl * ( )
445
445
or
446
446
subtypes = false and
447
- decl .resolveExtensions ( ) = nomTypeDecl
447
+ decl .getNominalTypeDecl ( ) = nomTypeDecl
448
448
)
449
449
)
450
450
}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class IterableDeclContext extends Generated::IterableDeclContext {
10
10
* Gets the `NominalTypeDecl` corresponding to this `IterableDeclContext`
11
11
* resolving an extension to the extended type declaration.
12
12
*/
13
- NominalTypeDecl resolveExtensions ( ) {
13
+ NominalTypeDecl getNominalTypeDecl ( ) {
14
14
result = this .( NominalTypeDecl )
15
15
or
16
16
result = this .( ExtensionDecl ) .getExtendedTypeDecl ( )
You can’t perform that action at this time.
0 commit comments