@abaplint/core 2.113.158 → 2.113.160
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.
|
@@ -11,7 +11,7 @@ class InlineData extends combi_1.Expression {
|
|
|
11
11
|
const left = (0, combi_1.tok)(tokens_1.ParenLeft);
|
|
12
12
|
const data = (0, combi_1.seq)("DATA", left, _1.TargetField, right);
|
|
13
13
|
const final = (0, combi_1.seq)("FINAL", left, _1.TargetField, right);
|
|
14
|
-
return (0, combi_1.altPrio)((0, combi_1.ver)(version_1.Version.v740sp02, data), (0, combi_1.ver)(version_1.Version.v757, final));
|
|
14
|
+
return (0, combi_1.altPrio)((0, combi_1.ver)(version_1.Version.v740sp02, data, version_1.Version.OpenABAP), (0, combi_1.ver)(version_1.Version.v757, final, version_1.Version.OpenABAP));
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.InlineData = InlineData;
|
|
@@ -134,7 +134,10 @@ class Source {
|
|
|
134
134
|
console.dir(foundType);
|
|
135
135
|
console.dir(s);
|
|
136
136
|
*/
|
|
137
|
-
if (foundType
|
|
137
|
+
if (foundType && foundType.isGeneric() && s) {
|
|
138
|
+
foundType = new basic_1.DataReference(s);
|
|
139
|
+
}
|
|
140
|
+
else if (foundType === undefined && s) {
|
|
138
141
|
foundType = new basic_1.DataReference(s);
|
|
139
142
|
}
|
|
140
143
|
else if (foundType && targetType === undefined) {
|
package/build/src/registry.js
CHANGED