@abaplint/core 2.120.12 → 2.120.13

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.
@@ -70,7 +70,7 @@ class Write {
70
70
  if (target) {
71
71
  const targetType = target_1.Target.runSyntax(target, input);
72
72
  if (new _type_utils_1.TypeUtils(input.scope).isCharLikeField(targetType) === false) {
73
- const message = `"${target.getFirstToken().getStr()}" must be a character-like field (data type C, N, D, or T)`;
73
+ const message = `"${target.concatTokens()}" must be a character-like field (data type C, N, D, or T, got "${targetType === null || targetType === void 0 ? void 0 : targetType.constructor.name}")`;
74
74
  input.issues.push((0, _syntax_input_1.syntaxIssue)(input, target.getFirstToken(), message));
75
75
  }
76
76
  }
@@ -75,7 +75,7 @@ class Registry {
75
75
  }
76
76
  static abaplintVersion() {
77
77
  // magic, see build script "version.js"
78
- return "2.120.12";
78
+ return "2.120.13";
79
79
  }
80
80
  getDDICReferences() {
81
81
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.120.12",
3
+ "version": "2.120.13",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",