@abaplint/cli 2.113.135 → 2.113.136
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 +9 -2
- package/package.json +3 -3
package/build/cli.js
CHANGED
|
@@ -23426,6 +23426,13 @@ class TypeUtils {
|
|
|
23426
23426
|
}
|
|
23427
23427
|
return ret;
|
|
23428
23428
|
}
|
|
23429
|
+
isConvable(source, target) {
|
|
23430
|
+
if (source instanceof basic_1.TableType && target instanceof basic_1.TableType) {
|
|
23431
|
+
// table key conversion, eg DEFAULT to EMPTY
|
|
23432
|
+
return this.isAssignable(source.getRowType(), target.getRowType());
|
|
23433
|
+
}
|
|
23434
|
+
return this.isAssignable(source, target);
|
|
23435
|
+
}
|
|
23429
23436
|
isCastable(_source, _target) {
|
|
23430
23437
|
// todo
|
|
23431
23438
|
return true;
|
|
@@ -28051,7 +28058,7 @@ class Source {
|
|
|
28051
28058
|
{
|
|
28052
28059
|
const foundType = this.determineType(node, input, targetType);
|
|
28053
28060
|
const bodyType = conv_body_1.ConvBody.runSyntax(node.findDirectExpression(Expressions.ConvBody), input);
|
|
28054
|
-
if (new _type_utils_1.TypeUtils(input.scope).
|
|
28061
|
+
if (new _type_utils_1.TypeUtils(input.scope).isConvable(foundType, bodyType) === false) {
|
|
28055
28062
|
const message = `CONV: Types not compatible, ${foundType === null || foundType === void 0 ? void 0 : foundType.constructor.name}, ${bodyType === null || bodyType === void 0 ? void 0 : bodyType.constructor.name}`;
|
|
28056
28063
|
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
|
|
28057
28064
|
return basic_1.VoidType.get(_syntax_input_1.CheckSyntaxKey);
|
|
@@ -54566,7 +54573,7 @@ class Registry {
|
|
|
54566
54573
|
}
|
|
54567
54574
|
static abaplintVersion() {
|
|
54568
54575
|
// magic, see build script "version.sh"
|
|
54569
|
-
return "2.113.
|
|
54576
|
+
return "2.113.136";
|
|
54570
54577
|
}
|
|
54571
54578
|
getDDICReferences() {
|
|
54572
54579
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.136",
|
|
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.
|
|
41
|
+
"@abaplint/core": "^2.113.136",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"chai": "^4.5.0",
|
|
48
48
|
"p-limit": "^3.1.0",
|
|
49
49
|
"chalk": "^5.4.1",
|
|
50
|
-
"eslint": "^9.30.
|
|
50
|
+
"eslint": "^9.30.1",
|
|
51
51
|
"glob": "^11.0.3",
|
|
52
52
|
"json5": "^2.2.3",
|
|
53
53
|
"memfs": "^4.17.2",
|