Skip to content

feat (labs/analyzer): add support for mixins - #4120

Closed
43081j wants to merge 1 commit into
lit:mainfrom
43081j:mixins
Closed

43081j wants to merge 1 commit into
lit:mainfrom
43081j:mixins

Conversation

@43081j

@43081j 43081j commented Aug 21, 2023

Copy link
Copy Markdown
Collaborator

Just a draft for now since it still needs tests, and the logic can probably be tidied up a bit (reduce some duplication).

@changeset-bot

changeset-bot Bot commented Aug 21, 2023

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 54aaea0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@justinfagnani

Copy link
Copy Markdown
Collaborator

@kevinpschaaf had some work here too. @kevinpschaaf can you take a look and point @43081j to your branch?

return null;
};

const getMixinsFromExpression = (

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im thinking these two functions might be better as one which returns a ClassHeritage or something, so we traverse only once and get the mixins/superclass back in one go

@43081j

43081j commented Aug 21, 2023

Copy link
Copy Markdown
Collaborator Author

if one of you already has it, im happy to throw this branch away! just let me know

@justinfagnani

Copy link
Copy Markdown
Collaborator

I'm not sure the state of it, just wanted to raise it!

@43081j 43081j closed this Aug 26, 2023
@43081j
43081j deleted the mixins branch August 26, 2023 20:23
@43081j

43081j commented Aug 26, 2023

Copy link
Copy Markdown
Collaborator Author

Closing because #4147 will solve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants