@abaplint/core 2.113.221 → 2.113.222
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
|
@@ -81,8 +81,8 @@ class ImplementMethods extends _abap_rule_1.ABAPRule {
|
|
|
81
81
|
continue;
|
|
82
82
|
}
|
|
83
83
|
else {
|
|
84
|
-
const message = "Abstract methods can only be defined in abstract classes.
|
|
85
|
-
const issue = issue_1.Issue.atIdentifier(
|
|
84
|
+
const message = "Abstract methods can only be defined in abstract classes, " + md.name;
|
|
85
|
+
const issue = issue_1.Issue.atIdentifier(md.identifier, message, this.getMetadata().key, this.conf.severity);
|
|
86
86
|
ret.push(issue);
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
@@ -193,10 +193,13 @@ class ImplementMethods extends _abap_rule_1.ABAPRule {
|
|
|
193
193
|
continue;
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
// there is some bug here, which I cannot reproduce right now
|
|
197
|
+
/*
|
|
198
|
+
const message = "Abstract methods can only be defined in abstract classes, " + m.method.name;
|
|
199
|
+
const issue = Issue.atIdentifier(m.method.identifier, message, this.getMetadata().key, this.conf.severity);
|
|
198
200
|
ret.push(issue);
|
|
199
201
|
break;
|
|
202
|
+
*/
|
|
200
203
|
}
|
|
201
204
|
}
|
|
202
205
|
if (this.isImplemented(m, def, impl) === false) {
|