@abaplint/core 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/src/registry.js +1 -1
- package/build/src/rules/downport.js +10 -1
- package/package.json +1 -1
package/build/src/registry.js
CHANGED
|
@@ -846,7 +846,7 @@ ${indentation}`);
|
|
|
846
846
|
const fix = edit_helper_1.EditHelper.merge(fix2, fix1);
|
|
847
847
|
return issue_1.Issue.atToken(lowFile, inlineData.getFirstToken(), "Outline SELECT @DATA", this.getMetadata().key, this.conf.severity, fix);
|
|
848
848
|
}
|
|
849
|
-
// the anonymous type
|
|
849
|
+
// the anonymous type might be used in inferred type statements, define it so it can be referred
|
|
850
850
|
anonymousTableType(high, lowFile, highSyntax) {
|
|
851
851
|
if (!(high.get() instanceof Statements.Data)) {
|
|
852
852
|
return undefined;
|
|
@@ -1056,6 +1056,9 @@ ${indentation}`);
|
|
|
1056
1056
|
outlineCatchSimple(node, lowFile) {
|
|
1057
1057
|
// outlines "CATCH cx_bcs INTO DATA(lx_bcs_excep).", note that this does not need to look at types
|
|
1058
1058
|
var _a, _b;
|
|
1059
|
+
if (this.lowReg.getConfig().getVersion() === version_1.Version.OpenABAP) {
|
|
1060
|
+
return undefined;
|
|
1061
|
+
}
|
|
1059
1062
|
if (!(node.get() instanceof Statements.Catch)) {
|
|
1060
1063
|
return undefined;
|
|
1061
1064
|
}
|
|
@@ -1102,6 +1105,9 @@ ${indentation}CATCH ${className} INTO ${targetName}.`;
|
|
|
1102
1105
|
if (!(node.get() instanceof Statements.Move)) {
|
|
1103
1106
|
return undefined;
|
|
1104
1107
|
}
|
|
1108
|
+
if (this.lowReg.getConfig().getVersion() === version_1.Version.OpenABAP) {
|
|
1109
|
+
return undefined;
|
|
1110
|
+
}
|
|
1105
1111
|
const target = node.findFirstExpression(Expressions.Target);
|
|
1106
1112
|
if (!(((_a = target === null || target === void 0 ? void 0 : target.getFirstChild()) === null || _a === void 0 ? void 0 : _a.get()) instanceof Expressions.InlineData)) {
|
|
1107
1113
|
return undefined;
|
|
@@ -1827,6 +1833,9 @@ ${indentation} output = ${uniqueName}.\n`;
|
|
|
1827
1833
|
if (!(node.get() instanceof Statements.Loop)) {
|
|
1828
1834
|
return undefined;
|
|
1829
1835
|
}
|
|
1836
|
+
if (this.lowReg.getConfig().getVersion() === version_1.Version.OpenABAP) {
|
|
1837
|
+
return undefined;
|
|
1838
|
+
}
|
|
1830
1839
|
const source = (_a = node.findDirectExpression(Expressions.LoopSource)) === null || _a === void 0 ? void 0 : _a.findDirectExpression(Expressions.SimpleSource2);
|
|
1831
1840
|
if (source === undefined) {
|
|
1832
1841
|
return undefined;
|