@abaplint/cli 2.102.32 → 2.102.33

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 +5 -3
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -29341,7 +29341,8 @@ class InsertInternal {
29341
29341
  if (t) {
29342
29342
  targetType = new target_1.Target().runSyntax(t, scope, filename);
29343
29343
  }
29344
- if (targetType instanceof basic_1.TableType && node.findDirectTokenByText("LINES") === undefined) {
29344
+ if (targetType instanceof basic_1.TableType
29345
+ && node.findDirectTokenByText("LINES") === undefined) {
29345
29346
  targetType = targetType.getRowType();
29346
29347
  }
29347
29348
  let source = node.findDirectExpression(Expressions.SimpleSource4);
@@ -29359,7 +29360,8 @@ class InsertInternal {
29359
29360
  new fstarget_1.FSTarget().runSyntax(afterAssigning, scope, filename, sourceType);
29360
29361
  }
29361
29362
  }
29362
- if (new _type_utils_1.TypeUtils(scope).isAssignableStrict(sourceType, targetType) === false) {
29363
+ if (afterAssigning === undefined
29364
+ && new _type_utils_1.TypeUtils(scope).isAssignableStrict(sourceType, targetType) === false) {
29363
29365
  throw new Error("Types not compatible");
29364
29366
  }
29365
29367
  const afterInto = node.findExpressionAfterToken("INTO");
@@ -48765,7 +48767,7 @@ class Registry {
48765
48767
  }
48766
48768
  static abaplintVersion() {
48767
48769
  // magic, see build script "version.sh"
48768
- return "2.102.32";
48770
+ return "2.102.33";
48769
48771
  }
48770
48772
  getDDICReferences() {
48771
48773
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.102.32",
3
+ "version": "2.102.33",
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.102.32",
41
+ "@abaplint/core": "^2.102.33",
42
42
  "@types/chai": "^4.3.5",
43
43
  "@types/glob": "^7.2.0",
44
44
  "@types/minimist": "^1.2.2",