@abaplint/runtime 2.13.8 → 2.13.9
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.
|
@@ -149,6 +149,11 @@ function assign(input) {
|
|
|
149
149
|
if (input.source instanceof types_1.Table && input.source.getOptions()?.withHeader === true) {
|
|
150
150
|
input.target.assign(input.source.getHeader());
|
|
151
151
|
}
|
|
152
|
+
else if (input.target.getType() instanceof types_1.Table
|
|
153
|
+
&& !(input.source instanceof types_1.Table)
|
|
154
|
+
&& !(input.source instanceof types_1.HashedTable)) {
|
|
155
|
+
throw new Error("ASSIGN_TYPE_CONFLICT");
|
|
156
|
+
}
|
|
152
157
|
else {
|
|
153
158
|
if (input.casting) {
|
|
154
159
|
input.target.setCasting();
|