@abaplint/core 2.115.12 → 2.115.14

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.
@@ -108,13 +108,14 @@ class StatementParser {
108
108
  lazyUnknown(wa) {
109
109
  const result = [];
110
110
  for (let statement of wa.statements) {
111
- // dont use CALL METHOD, when executing lazy, it easily gives a Move for the last statment if lazy logic is evaluated
111
+ // dont use CALL METHOD, when executing lazy, it easily gives a Move for the last statement if lazy logic is evaluated
112
112
  if (statement.get() instanceof _statement_1.Unknown) {
113
113
  const concat = statement.concatTokens().toUpperCase();
114
114
  if (concat.startsWith("CALL METHOD ") === false
115
115
  && concat.startsWith("RAISE EXCEPTION TYPE ") === false
116
116
  && concat.startsWith("READ TABLE ") === false
117
117
  && concat.startsWith("LOOP AT ") === false
118
+ && concat.startsWith("SELECT SINGLE ") === false
118
119
  && concat.startsWith("CALL FUNCTION ") === false) {
119
120
  for (const { first, second } of this.buildSplits(statement.getTokens())) {
120
121
  if (second.length === 1) {
@@ -296,6 +296,9 @@ class Source {
296
296
  if (context instanceof basic_1.FloatType && found instanceof basic_1.IntegerType) {
297
297
  return context;
298
298
  }
299
+ else if (context instanceof basic_1.IntegerType && (found === null || found === void 0 ? void 0 : found.isGeneric())) {
300
+ return context;
301
+ }
299
302
  else {
300
303
  return found;
301
304
  }
@@ -74,7 +74,7 @@ class Registry {
74
74
  }
75
75
  static abaplintVersion() {
76
76
  // magic, see build script "version.sh"
77
- return "2.115.12";
77
+ return "2.115.14";
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.115.12",
3
+ "version": "2.115.14",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",