@abaplint/cli 2.119.63 → 2.119.65
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.
- package/build/cli.js +12 -5
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -27597,7 +27597,7 @@ class TypeUtils {
|
|
|
27597
27597
|
}
|
|
27598
27598
|
else if (target instanceof basic_1.XStringType) {
|
|
27599
27599
|
if (((_c = source.getAbstractTypeData()) === null || _c === void 0 ? void 0 : _c.derivedFromConstant) === true) {
|
|
27600
|
-
return
|
|
27600
|
+
return (node === null || node === void 0 ? void 0 : node.concatTokens()) !== "''";
|
|
27601
27601
|
}
|
|
27602
27602
|
return false;
|
|
27603
27603
|
}
|
|
@@ -32289,6 +32289,7 @@ const Expressions = __importStar(__webpack_require__(/*! ../../2_statements/expr
|
|
|
32289
32289
|
const _typed_identifier_1 = __webpack_require__(/*! ../../types/_typed_identifier */ "../core/build/src/abap/types/_typed_identifier.js");
|
|
32290
32290
|
const basic_1 = __webpack_require__(/*! ../../types/basic */ "../core/build/src/abap/types/basic/index.js");
|
|
32291
32291
|
const basic_types_1 = __webpack_require__(/*! ../basic_types */ "../core/build/src/abap/5_syntax/basic_types.js");
|
|
32292
|
+
const _syntax_input_1 = __webpack_require__(/*! ../_syntax_input */ "../core/build/src/abap/5_syntax/_syntax_input.js");
|
|
32292
32293
|
const assert_error_1 = __webpack_require__(/*! ../assert_error */ "../core/build/src/abap/5_syntax/assert_error.js");
|
|
32293
32294
|
class MethodDefReturning {
|
|
32294
32295
|
static runSyntax(node, input, meta) {
|
|
@@ -32301,8 +32302,11 @@ class MethodDefReturning {
|
|
|
32301
32302
|
throw new assert_error_1.AssertError("method_parameter.ts, unexpected structure");
|
|
32302
32303
|
}
|
|
32303
32304
|
let found = new basic_types_1.BasicTypes(input).parseType(type);
|
|
32304
|
-
|
|
32305
|
-
|
|
32305
|
+
const message = "RETURNING parameter must be fully specified";
|
|
32306
|
+
const typeText = type.concatTokens().toUpperCase();
|
|
32307
|
+
if ((found === null || found === void 0 ? void 0 : found.isGeneric()) === true || typeText === "TYPE X" || typeText === "TYPE C") {
|
|
32308
|
+
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, type.getFirstToken(), message));
|
|
32309
|
+
found = new basic_1.UnknownType(message);
|
|
32306
32310
|
}
|
|
32307
32311
|
if (found) {
|
|
32308
32312
|
return new _typed_identifier_1.TypedIdentifier(name.getFirstToken(), input.filename, found, meta);
|
|
@@ -34190,6 +34194,9 @@ class Source {
|
|
|
34190
34194
|
if (context instanceof basic_1.FloatType && found instanceof basic_1.IntegerType) {
|
|
34191
34195
|
return context;
|
|
34192
34196
|
}
|
|
34197
|
+
else if (context instanceof basic_1.IntegerType && found instanceof basic_1.HexType) {
|
|
34198
|
+
return context;
|
|
34199
|
+
}
|
|
34193
34200
|
else if ((context instanceof basic_1.IntegerType || context instanceof basic_1.FloatType) && (found === null || found === void 0 ? void 0 : found.isGeneric())) {
|
|
34194
34201
|
return context;
|
|
34195
34202
|
}
|
|
@@ -68820,7 +68827,7 @@ class Registry {
|
|
|
68820
68827
|
}
|
|
68821
68828
|
static abaplintVersion() {
|
|
68822
68829
|
// magic, see build script "version.js"
|
|
68823
|
-
return "2.119.
|
|
68830
|
+
return "2.119.65";
|
|
68824
68831
|
}
|
|
68825
68832
|
getDDICReferences() {
|
|
68826
68833
|
return this.ddicReferences;
|
|
@@ -78408,7 +78415,7 @@ class DynproChecks {
|
|
|
78408
78415
|
return ret;
|
|
78409
78416
|
}
|
|
78410
78417
|
hasContainerRelativeCoordinates(field) {
|
|
78411
|
-
return field.contType === "TABLE_CTRL" || field.contType === "LOOP";
|
|
78418
|
+
return field.contType === "TABLE_CTRL" || field.contType === "LOOP" || field.contType === "STRIP_CTRL";
|
|
78412
78419
|
}
|
|
78413
78420
|
overlaps(first, second) {
|
|
78414
78421
|
if (first.line === 0 || second.line === 0 || first.column === 0 || second.column === 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.119.
|
|
3
|
+
"version": "2.119.65",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"homepage": "https://abaplint.org",
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@abaplint/core": "^2.119.
|
|
42
|
+
"@abaplint/core": "^2.119.65",
|
|
43
43
|
"@types/chai": "^4.3.20",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|
|
45
45
|
"@types/mocha": "^10.0.10",
|