@abaplint/cli 2.102.20 → 2.102.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +9 -7
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -40521,7 +40521,7 @@ class CodeLens {
|
|
|
40521
40521
|
}
|
|
40522
40522
|
}
|
|
40523
40523
|
if (settings.dynamicExceptions === true) {
|
|
40524
|
-
for (const ref of this.findMethodReferences(top)) {
|
|
40524
|
+
for (const ref of this.findMethodReferences(top, file)) {
|
|
40525
40525
|
if (!(ref.resolved instanceof types_1.MethodDefinition)) {
|
|
40526
40526
|
continue;
|
|
40527
40527
|
}
|
|
@@ -40559,15 +40559,17 @@ class CodeLens {
|
|
|
40559
40559
|
}
|
|
40560
40560
|
return false;
|
|
40561
40561
|
}
|
|
40562
|
-
findMethodReferences(node) {
|
|
40562
|
+
findMethodReferences(node, file) {
|
|
40563
40563
|
const ret = [];
|
|
40564
|
-
|
|
40565
|
-
|
|
40566
|
-
|
|
40564
|
+
if (node.getIdentifier().filename === file.getFilename()) {
|
|
40565
|
+
for (const r of node.getData().references) {
|
|
40566
|
+
if (r.referenceType === _reference_1.ReferenceType.MethodReference) {
|
|
40567
|
+
ret.push(r);
|
|
40568
|
+
}
|
|
40567
40569
|
}
|
|
40568
40570
|
}
|
|
40569
40571
|
for (const c of node.getChildren()) {
|
|
40570
|
-
ret.push(...this.findMethodReferences(c));
|
|
40572
|
+
ret.push(...this.findMethodReferences(c, file));
|
|
40571
40573
|
}
|
|
40572
40574
|
return ret;
|
|
40573
40575
|
}
|
|
@@ -48689,7 +48691,7 @@ class Registry {
|
|
|
48689
48691
|
}
|
|
48690
48692
|
static abaplintVersion() {
|
|
48691
48693
|
// magic, see build script "version.sh"
|
|
48692
|
-
return "2.102.
|
|
48694
|
+
return "2.102.21";
|
|
48693
48695
|
}
|
|
48694
48696
|
getDDICReferences() {
|
|
48695
48697
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.102.
|
|
3
|
+
"version": "2.102.21",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.102.
|
|
41
|
+
"@abaplint/core": "^2.102.21",
|
|
42
42
|
"@types/chai": "^4.3.5",
|
|
43
43
|
"@types/glob": "^7.2.0",
|
|
44
44
|
"@types/minimist": "^1.2.2",
|