@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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.7.81",
3
+ "version": "2.7.82",
4
4
  "description": "Transpiler",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",