@abaplint/core 2.106.1 → 2.106.2
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.
|
@@ -36,13 +36,11 @@ class Concatenate {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
throw new Error("Source type not compatible");
|
|
45
|
-
}
|
|
39
|
+
for (const s of node.findDirectExpressions(Expressions.SimpleSource3)) {
|
|
40
|
+
const type = new source_1.Source().runSyntax(s, scope, filename);
|
|
41
|
+
const compatible = byteMode ? new _type_utils_1.TypeUtils(scope).isHexLike(type) : new _type_utils_1.TypeUtils(scope).isCharLikeStrict(type);
|
|
42
|
+
if (compatible === false) {
|
|
43
|
+
throw new Error("Source type not compatible");
|
|
46
44
|
}
|
|
47
45
|
}
|
|
48
46
|
}
|
package/build/src/registry.js
CHANGED