Commit 86dfa41
committed
Fix overlay[local] errors for CodeQL 2.24.0 upgrade
Add overlay[local?] annotations to classes that extend overlay-annotated
classes from the standard library to comply with stricter overlay
annotation enforcement in CodeQL 2.24.0:
- UI5.qll: Add overlay[local?] to UserModule and SapDefineModule classes
that extend AmdModuleDefinition::Range
- AsyncXSJS.qll: Add overlay[local?] to XSJSDollarNamespace class that is
referenced through TypeModel
This fixes compilation errors like:
'Declaration is annotated overlay[local] but depends on global entity'1 parent eb8c2d3 commit 86dfa41
2 files changed
Lines changed: 3 additions & 0 deletions
File tree
- javascript/frameworks
- ui5/lib/advanced_security/javascript/frameworks/ui5
- xsjs/lib/advanced_security/javascript/frameworks/xsjs
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| |||
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| 187 | + | |
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments