@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 === undefined && s) {
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) {
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.158";
70
+ return "2.113.160";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.158",
3
+ "version": "2.113.160",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",