@abaplint/core 2.120.32 → 2.120.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.
|
@@ -423,6 +423,11 @@ class TypeUtils {
|
|
|
423
423
|
return false;
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
+
else if (source instanceof basic_1.DateType || source instanceof basic_1.TimeType) {
|
|
427
|
+
if (target instanceof basic_1.CharacterType || target instanceof basic_1.StringType) {
|
|
428
|
+
return false;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
426
431
|
else if (source instanceof basic_1.StringType) {
|
|
427
432
|
if (target instanceof basic_1.StructureType && this.structureContainsString(target)) {
|
|
428
433
|
return false;
|
|
@@ -484,7 +489,9 @@ class TypeUtils {
|
|
|
484
489
|
}
|
|
485
490
|
}
|
|
486
491
|
else if (source instanceof basic_1.IntegerType) {
|
|
487
|
-
if (target instanceof basic_1.StringType
|
|
492
|
+
if (target instanceof basic_1.StringType
|
|
493
|
+
|| target instanceof basic_1.DateType
|
|
494
|
+
|| target instanceof basic_1.CharacterType) {
|
|
488
495
|
return false;
|
|
489
496
|
}
|
|
490
497
|
else if (target instanceof basic_1.Integer8Type || target instanceof basic_1.PackedType) {
|
package/build/src/registry.js
CHANGED