@abaplint/cli 2.113.162 → 2.113.164
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 +11 -2
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -54794,7 +54794,7 @@ class Registry {
|
|
|
54794
54794
|
}
|
|
54795
54795
|
static abaplintVersion() {
|
|
54796
54796
|
// magic, see build script "version.sh"
|
|
54797
|
-
return "2.113.
|
|
54797
|
+
return "2.113.164";
|
|
54798
54798
|
}
|
|
54799
54799
|
getDDICReferences() {
|
|
54800
54800
|
return this.ddicReferences;
|
|
@@ -60727,7 +60727,7 @@ ${indentation}`);
|
|
|
60727
60727
|
const fix = edit_helper_1.EditHelper.merge(fix2, fix1);
|
|
60728
60728
|
return issue_1.Issue.atToken(lowFile, inlineData.getFirstToken(), "Outline SELECT @DATA", this.getMetadata().key, this.conf.severity, fix);
|
|
60729
60729
|
}
|
|
60730
|
-
// the anonymous type
|
|
60730
|
+
// the anonymous type might be used in inferred type statements, define it so it can be referred
|
|
60731
60731
|
anonymousTableType(high, lowFile, highSyntax) {
|
|
60732
60732
|
if (!(high.get() instanceof Statements.Data)) {
|
|
60733
60733
|
return undefined;
|
|
@@ -60937,6 +60937,9 @@ ${indentation}`);
|
|
|
60937
60937
|
outlineCatchSimple(node, lowFile) {
|
|
60938
60938
|
// outlines "CATCH cx_bcs INTO DATA(lx_bcs_excep).", note that this does not need to look at types
|
|
60939
60939
|
var _a, _b;
|
|
60940
|
+
if (this.lowReg.getConfig().getVersion() === version_1.Version.OpenABAP) {
|
|
60941
|
+
return undefined;
|
|
60942
|
+
}
|
|
60940
60943
|
if (!(node.get() instanceof Statements.Catch)) {
|
|
60941
60944
|
return undefined;
|
|
60942
60945
|
}
|
|
@@ -60983,6 +60986,9 @@ ${indentation}CATCH ${className} INTO ${targetName}.`;
|
|
|
60983
60986
|
if (!(node.get() instanceof Statements.Move)) {
|
|
60984
60987
|
return undefined;
|
|
60985
60988
|
}
|
|
60989
|
+
if (this.lowReg.getConfig().getVersion() === version_1.Version.OpenABAP) {
|
|
60990
|
+
return undefined;
|
|
60991
|
+
}
|
|
60986
60992
|
const target = node.findFirstExpression(Expressions.Target);
|
|
60987
60993
|
if (!(((_a = target === null || target === void 0 ? void 0 : target.getFirstChild()) === null || _a === void 0 ? void 0 : _a.get()) instanceof Expressions.InlineData)) {
|
|
60988
60994
|
return undefined;
|
|
@@ -61708,6 +61714,9 @@ ${indentation} output = ${uniqueName}.\n`;
|
|
|
61708
61714
|
if (!(node.get() instanceof Statements.Loop)) {
|
|
61709
61715
|
return undefined;
|
|
61710
61716
|
}
|
|
61717
|
+
if (this.lowReg.getConfig().getVersion() === version_1.Version.OpenABAP) {
|
|
61718
|
+
return undefined;
|
|
61719
|
+
}
|
|
61711
61720
|
const source = (_a = node.findDirectExpression(Expressions.LoopSource)) === null || _a === void 0 ? void 0 : _a.findDirectExpression(Expressions.SimpleSource2);
|
|
61712
61721
|
if (source === undefined) {
|
|
61713
61722
|
return undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.164",
|
|
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.113.
|
|
41
|
+
"@abaplint/core": "^2.113.164",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|