@abaplint/runtime 2.5.75 → 2.5.77
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.
|
@@ -5,7 +5,6 @@ const clone_1 = require("../clone");
|
|
|
5
5
|
const throw_error_1 = require("../throw_error");
|
|
6
6
|
const types_1 = require("../types");
|
|
7
7
|
function createData(target, options) {
|
|
8
|
-
// console.dir(options);
|
|
9
8
|
if (target instanceof types_1.FieldSymbol) {
|
|
10
9
|
createData(target.getPointer(), options);
|
|
11
10
|
return;
|
|
@@ -114,7 +113,12 @@ function createData(target, options) {
|
|
|
114
113
|
target.assign(new types_1.XString());
|
|
115
114
|
break;
|
|
116
115
|
default:
|
|
117
|
-
|
|
116
|
+
// @ts-ignore
|
|
117
|
+
if (abap.DDIC[options.typeName]) {
|
|
118
|
+
// @ts-ignore
|
|
119
|
+
target.assign((0, clone_1.clone)(abap.DDIC[options.typeName].type));
|
|
120
|
+
}
|
|
121
|
+
else if (options.typeName.includes("=>")) {
|
|
118
122
|
const [className, typeName] = options.typeName.toUpperCase().split("=>");
|
|
119
123
|
// @ts-ignore
|
|
120
124
|
if (abap.Classes[className] === undefined) {
|