@abaplint/cli 2.113.148 → 2.113.150
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 +13 -7
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -48397,8 +48397,12 @@ class DataElement extends _abstract_object_1.AbstractObject {
|
|
|
48397
48397
|
references.push({ object: lookup.object });
|
|
48398
48398
|
}
|
|
48399
48399
|
reg.getDDICReferences().setUsing(this, references);
|
|
48400
|
-
|
|
48401
|
-
|
|
48400
|
+
if (!(lookup.type instanceof Types.UnknownType)) {
|
|
48401
|
+
// the referenced type might not exist or contain syntax errors(for CLAS)
|
|
48402
|
+
// so dont cache it, expect the user to fix it
|
|
48403
|
+
this.parsedType = lookup.type;
|
|
48404
|
+
}
|
|
48405
|
+
return lookup.type;
|
|
48402
48406
|
}
|
|
48403
48407
|
parse() {
|
|
48404
48408
|
var _a, _b, _c;
|
|
@@ -53150,7 +53154,7 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
53150
53154
|
}
|
|
53151
53155
|
if (found instanceof Types.StructureType) {
|
|
53152
53156
|
if (field.GROUPNAME !== undefined) {
|
|
53153
|
-
components.push({ name: field.GROUPNAME, type: found });
|
|
53157
|
+
components.push({ name: field.GROUPNAME, type: found, asInclude: true });
|
|
53154
53158
|
}
|
|
53155
53159
|
if (field.FIELDNAME.startsWith(".INCLU-") === false
|
|
53156
53160
|
|| field.FIELDNAME === ".INCLU--AP") {
|
|
@@ -54673,7 +54677,7 @@ class Registry {
|
|
|
54673
54677
|
}
|
|
54674
54678
|
static abaplintVersion() {
|
|
54675
54679
|
// magic, see build script "version.sh"
|
|
54676
|
-
return "2.113.
|
|
54680
|
+
return "2.113.150";
|
|
54677
54681
|
}
|
|
54678
54682
|
getDDICReferences() {
|
|
54679
54683
|
return this.ddicReferences;
|
|
@@ -68449,6 +68453,7 @@ exports.MethodParameterNames = MethodParameterNames;
|
|
|
68449
68453
|
|
|
68450
68454
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
68451
68455
|
exports.MixReturning = exports.MixReturningConf = void 0;
|
|
68456
|
+
/* eslint-disable max-len */
|
|
68452
68457
|
const issue_1 = __webpack_require__(/*! ../issue */ "./node_modules/@abaplint/core/build/src/issue.js");
|
|
68453
68458
|
const _abap_rule_1 = __webpack_require__(/*! ./_abap_rule */ "./node_modules/@abaplint/core/build/src/rules/_abap_rule.js");
|
|
68454
68459
|
const Statements = __webpack_require__(/*! ../abap/2_statements/statements */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/index.js");
|
|
@@ -68468,9 +68473,10 @@ class MixReturning extends _abap_rule_1.ABAPRule {
|
|
|
68468
68473
|
key: "mix_returning",
|
|
68469
68474
|
title: "Mix of returning and exporting",
|
|
68470
68475
|
shortDescription: `Checks that methods don't have a mixture of returning and exporting/changing parameters`,
|
|
68471
|
-
|
|
68472
|
-
|
|
68473
|
-
|
|
68476
|
+
extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#use-either-returning-or-exporting-or-changing-but-not-a-combination
|
|
68477
|
+
|
|
68478
|
+
This syntax is not allowed on versions earlier than 740sp02, https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abennews-740-abap_objects.htm#!ABAP_MODIFICATION_1@1@`,
|
|
68479
|
+
tags: [_irule_1.RuleTag.Styleguide, _irule_1.RuleTag.SingleFile, _irule_1.RuleTag.Syntax],
|
|
68474
68480
|
badExample: `CLASS lcl DEFINITION.
|
|
68475
68481
|
PUBLIC SECTION.
|
|
68476
68482
|
METHODS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.150",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.113.
|
|
41
|
+
"@abaplint/core": "^2.113.150",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|