Skip to content

fix(1374): support declaration emit for expando functions #1399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from

Conversation

a-tarasyuk
Copy link
Contributor

@a-tarasyuk a-tarasyuk commented Jul 13, 2025

No description provided.

@a-tarasyuk a-tarasyuk force-pushed the fix/1374 branch 11 times, most recently from 698d40d to c063ac4 Compare July 13, 2025 23:15
@a-tarasyuk a-tarasyuk requested a review from jakebailey July 14, 2025 11:09
@a-tarasyuk a-tarasyuk requested a review from jakebailey July 14, 2025 13:50
Copy link
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

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

This looks like a pretty straight port of the logic from strada - @sandersn should weigh in on weather he thinks that's right. I do not recall if these is one of the constructs that changed meaningfully in the js reparser rewrite and, thus, should also have it's declaration emit logic adjusted, too.

@a-tarasyuk a-tarasyuk closed this Jul 14, 2025
@sandersn
Copy link
Member

Expandos didn't fundamentally change, but they are losing a lot of their complicated features. So the core changes to emit might be right-ish, but you won't need to reintroduce any code in the parser or binder, I think.

@a-tarasyuk
Copy link
Contributor Author

@sandersn Thanks for the clarification.

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.

4 participants