@abaplint/core 2.119.25 → 2.119.26

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.
@@ -9,6 +9,7 @@ const tokens_1 = require("../../1_lexer/tokens");
9
9
  const source_1 = require("./source");
10
10
  const _type_utils_1 = require("../_type_utils");
11
11
  const _syntax_input_1 = require("../_syntax_input");
12
+ const constant_1 = require("./constant");
12
13
  class MethodCallParam {
13
14
  static runSyntax(node, input, method) {
14
15
  if (!(node.get() instanceof Expressions.MethodCallParam)) {
@@ -66,10 +67,13 @@ class MethodCallParam {
66
67
  else {
67
68
  targetType = method;
68
69
  }
69
- let sourceType = basic_1.StringType.get();
70
+ let sourceType = undefined;
70
71
  if (child.get() instanceof Expressions.Source) {
71
72
  sourceType = source_1.Source.runSyntax(child, input, targetType);
72
73
  }
74
+ else if (child.get() instanceof Expressions.ConstantString) {
75
+ sourceType = constant_1.Constant.runSyntax(child);
76
+ }
73
77
  if (sourceType === undefined) {
74
78
  const message = "No source type determined, method source";
75
79
  input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
@@ -74,7 +74,7 @@ class Registry {
74
74
  }
75
75
  static abaplintVersion() {
76
76
  // magic, see build script "version.sh"
77
- return "2.119.25";
77
+ return "2.119.26";
78
78
  }
79
79
  getDDICReferences() {
80
80
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.119.25",
3
+ "version": "2.119.26",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",