Skip to content

Commit

Permalink
fix: Undeclared variables from mixins no longer supercede local decla…
Browse files Browse the repository at this point in the history
…red variables
  • Loading branch information
adam-coster committed Aug 2, 2023
1 parent 2bdd408 commit 267e62b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/parser/src/visitor.identifierAccessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ export function visitIdentifierAccessor(
// }
const variables = functionType.self;
for (const member of variables.listMembers()) {
if (!member.def) continue;
member.override = true; // Ensure it's set as an override variable
const currentMember = this.PROCESSOR.currentSelf.getMember(
member.name,
Expand Down

0 comments on commit 267e62b

Please sign in to comment.