@abaplint/transpiler 2.7.81 → 2.7.82
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/src/traversal.js +7 -0
- package/package.json +1 -1
package/build/src/traversal.js
CHANGED
|
@@ -472,6 +472,13 @@ class Traversal {
|
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
+
else if (c.get() instanceof abaplint.Expressions.AttributeName
|
|
476
|
+
&& context instanceof abaplint.BasicTypes.DataReference) {
|
|
477
|
+
const type = context.getType();
|
|
478
|
+
if (type instanceof abaplint.BasicTypes.StructureType) {
|
|
479
|
+
context = type.getComponentByName(c.concatTokens());
|
|
480
|
+
}
|
|
481
|
+
}
|
|
475
482
|
}
|
|
476
483
|
return context;
|
|
477
484
|
}
|