Skip to content
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

Remove duplicate of IR nodes inside the body #39

Merged

Conversation

JSMonk
Copy link
Contributor

@JSMonk JSMonk commented Dec 21, 2023

I found the problem you had with the local lambda creation.
You used +expr, so, every node was added at least twice, and while the KLIB deserializer tried to create a function, it meat two variants of function that refer to the same symbol (this is an illegal state of the IR in Kotlin).
I've fixed all the things, so it compiles both for JVM and JS

@ForteScarlet
Copy link
Owner

Wow! Awesome! Thank you, I'll try again from my local and get back to you with a reply from YouTrack!

@ForteScarlet ForteScarlet merged commit 15b78c3 into ForteScarlet:KT-53993-1921 Dec 21, 2023
1 check passed
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