@abaplint/core 2.113.162 → 2.113.163
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
CHANGED
|
@@ -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;
|