@abaplint/cli 2.113.18 → 2.113.19

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.
Files changed (2) hide show
  1. package/build/cli.js +6 -5
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -33403,7 +33403,7 @@ class Tables {
33403
33403
  }
33404
33404
  let name = nameToken.getStr();
33405
33405
  if (name.startsWith("*")) {
33406
- name = name.substr(1);
33406
+ name = name.substring(1);
33407
33407
  }
33408
33408
  // lookupTableOrView will also give Unknown and Void
33409
33409
  const found = (_b = input.scope.getDDIC()) === null || _b === void 0 ? void 0 : _b.lookupTableOrView(name);
@@ -33411,10 +33411,10 @@ class Tables {
33411
33411
  input.scope.getDDICReferences().addUsing(input.scope.getParentObj(), { object: found.object, filename: input.filename, token: nameToken });
33412
33412
  if (input.scope.getType() === _scope_type_1.ScopeType.Form || input.scope.getType() === _scope_type_1.ScopeType.FunctionModule) {
33413
33413
  // hoist TABLES definitions to global scope
33414
- input.scope.addNamedIdentifierToParent(nameToken.getStr(), new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, found.type));
33414
+ input.scope.addNamedIdentifierToParent(nameToken.getStr(), new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, found.type, ["tables" /* IdentifierMeta.Tables */]));
33415
33415
  }
33416
33416
  else {
33417
- input.scope.addIdentifier(new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, found.type));
33417
+ input.scope.addIdentifier(new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, found.type, ["tables" /* IdentifierMeta.Tables */]));
33418
33418
  }
33419
33419
  return;
33420
33420
  }
@@ -43930,7 +43930,8 @@ class InlayHints {
43930
43930
  findImplicitReferences(node) {
43931
43931
  const ret = [];
43932
43932
  for (const r of node.getData().references) {
43933
- if (r.referenceType === _reference_1.ReferenceType.InferredType) {
43933
+ if (r.referenceType === _reference_1.ReferenceType.InferredType ||
43934
+ r.referenceType === _reference_1.ReferenceType.DataWriteReference) {
43934
43935
  ret.push(r);
43935
43936
  }
43936
43937
  }
@@ -52755,7 +52756,7 @@ class Registry {
52755
52756
  }
52756
52757
  static abaplintVersion() {
52757
52758
  // magic, see build script "version.sh"
52758
- return "2.113.18";
52759
+ return "2.113.19";
52759
52760
  }
52760
52761
  getDDICReferences() {
52761
52762
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.18",
3
+ "version": "2.113.19",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.18",
41
+ "@abaplint/core": "^2.113.19",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",
@@ -47,7 +47,7 @@
47
47
  "@types/progress": "^2.0.7",
48
48
  "chai": "^4.5.0",
49
49
  "chalk": "^5.3.0",
50
- "eslint": "^9.11.1",
50
+ "eslint": "^9.12.0",
51
51
  "glob": "^7.2.3",
52
52
  "json5": "^2.2.3",
53
53
  "memfs": "^4.12.0",