@abaplint/core 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.
@@ -16,7 +16,8 @@ class InsertInternal {
16
16
  if (t) {
17
17
  targetType = new target_1.Target().runSyntax(t, scope, filename);
18
18
  }
19
- if (targetType instanceof basic_1.TableType && node.findDirectTokenByText("LINES") === undefined) {
19
+ if (targetType instanceof basic_1.TableType
20
+ && node.findDirectTokenByText("LINES") === undefined) {
20
21
  targetType = targetType.getRowType();
21
22
  }
22
23
  let source = node.findDirectExpression(Expressions.SimpleSource4);
@@ -34,7 +35,8 @@ class InsertInternal {
34
35
  new fstarget_1.FSTarget().runSyntax(afterAssigning, scope, filename, sourceType);
35
36
  }
36
37
  }
37
- if (new _type_utils_1.TypeUtils(scope).isAssignableStrict(sourceType, targetType) === false) {
38
+ if (afterAssigning === undefined
39
+ && new _type_utils_1.TypeUtils(scope).isAssignableStrict(sourceType, targetType) === false) {
38
40
  throw new Error("Types not compatible");
39
41
  }
40
42
  const afterInto = node.findExpressionAfterToken("INTO");
@@ -65,7 +65,7 @@ class Registry {
65
65
  }
66
66
  static abaplintVersion() {
67
67
  // magic, see build script "version.sh"
68
- return "2.102.32";
68
+ return "2.102.33";
69
69
  }
70
70
  getDDICReferences() {
71
71
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.102.32",
3
+ "version": "2.102.33",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",