@abaplint/core 2.102.69 → 2.102.70
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.
|
@@ -115,11 +115,14 @@ class ClassDefinition extends _identifier_1.Identifier {
|
|
|
115
115
|
}
|
|
116
116
|
names.add(m.getName().toUpperCase());
|
|
117
117
|
}
|
|
118
|
+
for (const a of (cdef === null || cdef === void 0 ? void 0 : cdef.getAliases().getAll()) || []) {
|
|
119
|
+
names.add(a.getName().toUpperCase());
|
|
120
|
+
}
|
|
118
121
|
sup = cdef === null || cdef === void 0 ? void 0 : cdef.getSuperClass();
|
|
119
122
|
}
|
|
120
123
|
for (const m of this.getMethodDefinitions().getAll()) {
|
|
121
124
|
if (names.has(m.getName().toUpperCase()) && m.isRedefinition() === false) {
|
|
122
|
-
throw new Error(
|
|
125
|
+
throw new Error(`${m.getName().toUpperCase()} already declared in superclass`);
|
|
123
126
|
}
|
|
124
127
|
}
|
|
125
128
|
}
|
package/build/src/registry.js
CHANGED