@abaplint/core 2.119.14 → 2.119.15

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.
@@ -74,7 +74,7 @@ class Registry {
74
74
  }
75
75
  static abaplintVersion() {
76
76
  // magic, see build script "version.sh"
77
- return "2.119.14";
77
+ return "2.119.15";
78
78
  }
79
79
  getDDICReferences() {
80
80
  return this.ddicReferences;
@@ -44,10 +44,6 @@ class UnreachableCode extends _abap_rule_1.ABAPRule {
44
44
  || node.get() instanceof _statement_1.Empty) {
45
45
  continue;
46
46
  }
47
- else if (this.isExit(node)) {
48
- exit = true;
49
- continue;
50
- }
51
47
  else if (this.isStructure(node.get())) {
52
48
  exit = false;
53
49
  continue;
@@ -56,6 +52,11 @@ class UnreachableCode extends _abap_rule_1.ABAPRule {
56
52
  const issue = issue_1.Issue.atStatement(file, node, this.getMessage(), this.getMetadata().key, this.conf.severity);
57
53
  output.push(issue);
58
54
  exit = false;
55
+ continue;
56
+ }
57
+ else if (this.isExit(node)) {
58
+ exit = true;
59
+ continue;
59
60
  }
60
61
  }
61
62
  return output;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.119.14",
3
+ "version": "2.119.15",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",