@abaplint/cli 2.102.36 → 2.102.37
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 +15 -10
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -21762,18 +21762,23 @@ class TypeUtils {
|
|
|
21762
21762
|
}
|
|
21763
21763
|
return true;
|
|
21764
21764
|
}
|
|
21765
|
-
else if (source instanceof basic_1.StructureType
|
|
21766
|
-
|
|
21767
|
-
|
|
21768
|
-
|
|
21769
|
-
|
|
21770
|
-
}
|
|
21771
|
-
for (let i = 0; i < sourceComponents.length; i++) {
|
|
21772
|
-
if (this.isAssignableStrict(sourceComponents[i].type, targetComponents[i].type) === false) {
|
|
21765
|
+
else if (source instanceof basic_1.StructureType) {
|
|
21766
|
+
if (target instanceof basic_1.StructureType) {
|
|
21767
|
+
const sourceComponents = source.getComponents();
|
|
21768
|
+
const targetComponents = target.getComponents();
|
|
21769
|
+
if (sourceComponents.length !== targetComponents.length) {
|
|
21773
21770
|
return false;
|
|
21774
21771
|
}
|
|
21772
|
+
for (let i = 0; i < sourceComponents.length; i++) {
|
|
21773
|
+
if (this.isAssignableStrict(sourceComponents[i].type, targetComponents[i].type) === false) {
|
|
21774
|
+
return false;
|
|
21775
|
+
}
|
|
21776
|
+
}
|
|
21777
|
+
return true;
|
|
21778
|
+
}
|
|
21779
|
+
else if (target instanceof basic_1.CharacterType) {
|
|
21780
|
+
return false;
|
|
21775
21781
|
}
|
|
21776
|
-
return true;
|
|
21777
21782
|
}
|
|
21778
21783
|
else if (source instanceof basic_1.Integer8Type) {
|
|
21779
21784
|
if (target instanceof basic_1.IntegerType || target instanceof basic_1.StringType) {
|
|
@@ -48782,7 +48787,7 @@ class Registry {
|
|
|
48782
48787
|
}
|
|
48783
48788
|
static abaplintVersion() {
|
|
48784
48789
|
// magic, see build script "version.sh"
|
|
48785
|
-
return "2.102.
|
|
48790
|
+
return "2.102.37";
|
|
48786
48791
|
}
|
|
48787
48792
|
getDDICReferences() {
|
|
48788
48793
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.102.
|
|
3
|
+
"version": "2.102.37",
|
|
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.
|
|
41
|
+
"@abaplint/core": "^2.102.37",
|
|
42
42
|
"@types/chai": "^4.3.6",
|
|
43
43
|
"@types/glob": "^7.2.0",
|
|
44
44
|
"@types/minimist": "^1.2.2",
|