@abaplint/core 2.115.0 → 2.115.1
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/src/registry.js
CHANGED
|
@@ -7,7 +7,6 @@ const issue_1 = require("../issue");
|
|
|
7
7
|
const _abap_rule_1 = require("./_abap_rule");
|
|
8
8
|
const _basic_rule_config_1 = require("./_basic_rule_config");
|
|
9
9
|
const _irule_1 = require("./_irule");
|
|
10
|
-
const objects_1 = require("../objects");
|
|
11
10
|
class IdenticalMoveConf extends _basic_rule_config_1.BasicRuleConfig {
|
|
12
11
|
}
|
|
13
12
|
exports.IdenticalMoveConf = IdenticalMoveConf;
|
|
@@ -34,15 +33,9 @@ lv_value = 5.`,
|
|
|
34
33
|
setConfig(conf) {
|
|
35
34
|
this.conf = conf;
|
|
36
35
|
}
|
|
37
|
-
runParsed(file,
|
|
36
|
+
runParsed(file, _obj) {
|
|
38
37
|
var _a, _b;
|
|
39
38
|
const issues = [];
|
|
40
|
-
if (!(obj instanceof objects_1.Class)) {
|
|
41
|
-
return [];
|
|
42
|
-
}
|
|
43
|
-
else if (file !== obj.getMainABAPFile()) {
|
|
44
|
-
return [];
|
|
45
|
-
}
|
|
46
39
|
for (const statement of file.getStatements()) {
|
|
47
40
|
const statementType = statement.get();
|
|
48
41
|
if (statementType instanceof Statements.Move) {
|