@abaplint/cli 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.
Files changed (2) hide show
  1. package/build/cli.js +6 -3
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -6143,7 +6143,7 @@ class InlineData extends combi_1.Expression {
6143
6143
  const left = (0, combi_1.tok)(tokens_1.ParenLeft);
6144
6144
  const data = (0, combi_1.seq)("DATA", left, _1.TargetField, right);
6145
6145
  const final = (0, combi_1.seq)("FINAL", left, _1.TargetField, right);
6146
- return (0, combi_1.altPrio)((0, combi_1.ver)(version_1.Version.v740sp02, data), (0, combi_1.ver)(version_1.Version.v757, final));
6146
+ 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));
6147
6147
  }
6148
6148
  }
6149
6149
  exports.InlineData = InlineData;
@@ -28154,7 +28154,10 @@ class Source {
28154
28154
  console.dir(foundType);
28155
28155
  console.dir(s);
28156
28156
  */
28157
- if (foundType === undefined && s) {
28157
+ if (foundType && foundType.isGeneric() && s) {
28158
+ foundType = new basic_1.DataReference(s);
28159
+ }
28160
+ else if (foundType === undefined && s) {
28158
28161
  foundType = new basic_1.DataReference(s);
28159
28162
  }
28160
28163
  else if (foundType && targetType === undefined) {
@@ -54791,7 +54794,7 @@ class Registry {
54791
54794
  }
54792
54795
  static abaplintVersion() {
54793
54796
  // magic, see build script "version.sh"
54794
- return "2.113.158";
54797
+ return "2.113.160";
54795
54798
  }
54796
54799
  getDDICReferences() {
54797
54800
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.158",
3
+ "version": "2.113.160",
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.158",
41
+ "@abaplint/core": "^2.113.160",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",