@abaplint/cli 2.113.69 → 2.113.70

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 +5 -5
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -26771,7 +26771,7 @@ class NewObject {
26771
26771
  const clas = input.scope.findClassDefinition(targetType.getIdentifierName());
26772
26772
  if (clas) {
26773
26773
  input.scope.addReference(typeToken, clas, _reference_1.ReferenceType.InferredType, input.filename);
26774
- input.scope.addReference(typeToken, clas, _reference_1.ReferenceType.ConstructorReference, input.filename);
26774
+ input.scope.addReference(typeToken, clas, _reference_1.ReferenceType.ConstructorReference, input.filename, { ooName: clas.getName() });
26775
26775
  }
26776
26776
  else {
26777
26777
  const intf = input.scope.findInterfaceDefinition(targetType.getIdentifierName());
@@ -26798,7 +26798,7 @@ class NewObject {
26798
26798
  const objDefinition = input.scope.findObjectDefinition(typeName);
26799
26799
  if (objDefinition) {
26800
26800
  input.scope.addReference(typeToken, objDefinition, _reference_1.ReferenceType.ObjectOrientedReference, input.filename);
26801
- input.scope.addReference(typeToken, objDefinition, _reference_1.ReferenceType.ConstructorReference, input.filename);
26801
+ input.scope.addReference(typeToken, objDefinition, _reference_1.ReferenceType.ConstructorReference, input.filename, { ooName: objDefinition.getName() });
26802
26802
  const objref = new basic_1.ObjectReferenceType(objDefinition);
26803
26803
  const clas = input.scope.findClassDefinition(objref.getIdentifierName());
26804
26804
  if ((clas === null || clas === void 0 ? void 0 : clas.isAbstract()) === true) {
@@ -30234,7 +30234,7 @@ class CreateObject {
30234
30234
  cdef = input.scope.findClassDefinition(name);
30235
30235
  if (cdef) {
30236
30236
  input.scope.addReference(token, cdef, _reference_1.ReferenceType.ObjectOrientedReference, input.filename);
30237
- input.scope.addReference(token, cdef, _reference_1.ReferenceType.ConstructorReference, input.filename);
30237
+ input.scope.addReference(token, cdef, _reference_1.ReferenceType.ConstructorReference, input.filename, { ooName: cdef.getName() });
30238
30238
  if (cdef.isAbstract() === true) {
30239
30239
  const message = cdef.getName() + " is abstract, cannot be instantiated";
30240
30240
  input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
@@ -30308,7 +30308,7 @@ class CreateObject {
30308
30308
  for (const t of node.findDirectExpressions(Expressions.Dynamic)) {
30309
30309
  new dynamic_1.Dynamic().runSyntax(t, input);
30310
30310
  }
30311
- input.scope.addReference(t === null || t === void 0 ? void 0 : t.getFirstToken(), cdef, _reference_1.ReferenceType.ConstructorReference, input.filename);
30311
+ input.scope.addReference(t === null || t === void 0 ? void 0 : t.getFirstToken(), cdef, _reference_1.ReferenceType.ConstructorReference, input.filename, { ooName: cdef === null || cdef === void 0 ? void 0 : cdef.getName() });
30312
30312
  this.validateParameters(cdef, node, input);
30313
30313
  }
30314
30314
  validateParameters(cdef, node, input) {
@@ -53250,7 +53250,7 @@ class Registry {
53250
53250
  }
53251
53251
  static abaplintVersion() {
53252
53252
  // magic, see build script "version.sh"
53253
- return "2.113.69";
53253
+ return "2.113.70";
53254
53254
  }
53255
53255
  getDDICReferences() {
53256
53256
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.69",
3
+ "version": "2.113.70",
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.69",
41
+ "@abaplint/core": "^2.113.70",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",