Skip to content

Commit b4355c3

Browse files
.
1 parent 22e5254 commit b4355c3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/resolver.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -3023,10 +3023,8 @@ export class Resolver extends DiagnosticEmitter {
30233023

30243024
// check against overridden base member
30253025
if (prototype.is(CommonFlags.Instance)) {
3026-
// always take the prototype's bound class here - which may differ from the previous classInstance
3027-
let classInstance = assert(prototype.getBoundClassOrInterface());
30283026
let methodOrPropertyName = instance.declaration.name.text;
3029-
let baseClass = classInstance.base;
3027+
let baseClass = (assert(prototype.getBoundClassOrInterface())).base;
30303028
if (baseClass) {
30313029
let baseMember = baseClass.getMember(methodOrPropertyName);
30323030
if (baseMember) {

0 commit comments

Comments
 (0)