@abaplint/cli 2.106.4 → 2.106.5
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.
- package/build/cli.js +10 -2
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -30638,7 +30638,8 @@ class InsertInternal {
|
|
|
30638
30638
|
if (!(targetType instanceof basic_1.TableType)
|
|
30639
30639
|
&& !(targetType instanceof basic_1.VoidType)
|
|
30640
30640
|
&& !(targetType instanceof basic_1.AnyType)
|
|
30641
|
-
&& !(targetType instanceof basic_1.UnknownType)
|
|
30641
|
+
&& !(targetType instanceof basic_1.UnknownType)
|
|
30642
|
+
&& targetType !== undefined) {
|
|
30642
30643
|
throw new Error("INSERT target must be a table");
|
|
30643
30644
|
}
|
|
30644
30645
|
else if (targetType instanceof basic_1.TableType
|
|
@@ -30650,6 +30651,13 @@ class InsertInternal {
|
|
|
30650
30651
|
source = node.findDirectExpression(Expressions.Source);
|
|
30651
30652
|
}
|
|
30652
30653
|
const sourceType = source ? new source_1.Source().runSyntax(source, scope, filename, targetType) : targetType;
|
|
30654
|
+
if (targetType === undefined
|
|
30655
|
+
&& !(sourceType instanceof basic_1.TableType)
|
|
30656
|
+
&& !(sourceType instanceof basic_1.VoidType)
|
|
30657
|
+
&& !(sourceType instanceof basic_1.AnyType)
|
|
30658
|
+
&& !(sourceType instanceof basic_1.UnknownType)) {
|
|
30659
|
+
throw new Error("INSERT target must be a table");
|
|
30660
|
+
}
|
|
30653
30661
|
const afterAssigning = node.findExpressionAfterToken("ASSIGNING");
|
|
30654
30662
|
if ((afterAssigning === null || afterAssigning === void 0 ? void 0 : afterAssigning.get()) instanceof Expressions.FSTarget) {
|
|
30655
30663
|
const inlinefs = afterAssigning === null || afterAssigning === void 0 ? void 0 : afterAssigning.findDirectExpression(Expressions.InlineFS);
|
|
@@ -51434,7 +51442,7 @@ class Registry {
|
|
|
51434
51442
|
}
|
|
51435
51443
|
static abaplintVersion() {
|
|
51436
51444
|
// magic, see build script "version.sh"
|
|
51437
|
-
return "2.106.
|
|
51445
|
+
return "2.106.5";
|
|
51438
51446
|
}
|
|
51439
51447
|
getDDICReferences() {
|
|
51440
51448
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.106.
|
|
3
|
+
"version": "2.106.5",
|
|
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.106.
|
|
41
|
+
"@abaplint/core": "^2.106.5",
|
|
42
42
|
"@types/chai": "^4.3.14",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|