@abaplint/transpiler 2.7.33 → 2.7.34

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.
@@ -17,7 +17,7 @@ class MethodImplementationTranspiler {
17
17
  throw new Error("MethodTranspiler, scope not found, " + methodName + ", " + traversal.getFilename());
18
18
  }
19
19
  else if (scope.getIdentifier().sname !== methodName) {
20
- throw new Error("MethodTranspiler, wrong scope found, " + scope.getIdentifier().sname);
20
+ throw new Error("MethodTranspiler, wrong scope found, " + scope.getIdentifier().sname + ", " + methodName);
21
21
  }
22
22
  let after = "";
23
23
  const classDef = traversal.getClassDefinition(token);
@@ -140,7 +140,7 @@ class ClassImplementationTranspiler {
140
140
  }
141
141
  const cdef = traversal.getClassDefinition(token);
142
142
  if (cdef === undefined) {
143
- throw "buildConstructorCDEFNotFound";
143
+ throw "buildConstructorCDEFNotFound, " + token.getStr();
144
144
  }
145
145
  const ret = traversal.buildConstructorContents(scope, cdef);
146
146
  if (ret === "") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.7.33",
3
+ "version": "2.7.34",
4
4
  "description": "Transpiler",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "author": "abaplint",
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "@abaplint/core": "^2.101.34",
32
+ "@abaplint/core": "^2.102.2",
33
33
  "source-map": "^0.7.4"
34
34
  },
35
35
  "devDependencies": {