@abaplint/core 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/abaplint.d.ts
CHANGED
|
@@ -3351,7 +3351,9 @@ declare interface IFunctionModuleParameter {
|
|
|
3351
3351
|
}
|
|
3352
3352
|
|
|
3353
3353
|
declare interface IGlobalConfig {
|
|
3354
|
-
/** input files, glob format
|
|
3354
|
+
/** input files, glob format
|
|
3355
|
+
* @uniqueItems true
|
|
3356
|
+
*/
|
|
3355
3357
|
files: string | string[];
|
|
3356
3358
|
skipGeneratedBOPFInterfaces?: boolean;
|
|
3357
3359
|
/** Skips generated table maintenances, determined via TOBJ object */
|
|
@@ -89,8 +89,12 @@ class DataElement extends _abstract_object_1.AbstractObject {
|
|
|
89
89
|
references.push({ object: lookup.object });
|
|
90
90
|
}
|
|
91
91
|
reg.getDDICReferences().setUsing(this, references);
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
if (!(lookup.type instanceof Types.UnknownType)) {
|
|
93
|
+
// the referenced type might not exist or contain syntax errors(for CLAS)
|
|
94
|
+
// so dont cache it, expect the user to fix it
|
|
95
|
+
this.parsedType = lookup.type;
|
|
96
|
+
}
|
|
97
|
+
return lookup.type;
|
|
94
98
|
}
|
|
95
99
|
parse() {
|
|
96
100
|
var _a, _b, _c;
|
|
@@ -122,7 +122,7 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
122
122
|
}
|
|
123
123
|
if (found instanceof Types.StructureType) {
|
|
124
124
|
if (field.GROUPNAME !== undefined) {
|
|
125
|
-
components.push({ name: field.GROUPNAME, type: found });
|
|
125
|
+
components.push({ name: field.GROUPNAME, type: found, asInclude: true });
|
|
126
126
|
}
|
|
127
127
|
if (field.FIELDNAME.startsWith(".INCLU-") === false
|
|
128
128
|
|| field.FIELDNAME === ".INCLU--AP") {
|
package/build/src/registry.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MixReturning = exports.MixReturningConf = void 0;
|
|
4
|
+
/* eslint-disable max-len */
|
|
4
5
|
const issue_1 = require("../issue");
|
|
5
6
|
const _abap_rule_1 = require("./_abap_rule");
|
|
6
7
|
const Statements = require("../abap/2_statements/statements");
|
|
@@ -20,9 +21,10 @@ class MixReturning extends _abap_rule_1.ABAPRule {
|
|
|
20
21
|
key: "mix_returning",
|
|
21
22
|
title: "Mix of returning and exporting",
|
|
22
23
|
shortDescription: `Checks that methods don't have a mixture of returning and exporting/changing parameters`,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#use-either-returning-or-exporting-or-changing-but-not-a-combination
|
|
25
|
+
|
|
26
|
+
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@`,
|
|
27
|
+
tags: [_irule_1.RuleTag.Styleguide, _irule_1.RuleTag.SingleFile, _irule_1.RuleTag.Syntax],
|
|
26
28
|
badExample: `CLASS lcl DEFINITION.
|
|
27
29
|
PUBLIC SECTION.
|
|
28
30
|
METHODS
|