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

Append 'Kt' to the output class path if source file is a Kotlin file #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

UnexDev
Copy link

@UnexDev UnexDev commented Nov 17, 2023

Fixes #14

WARNING: Not tested; cannot find a way to test this without compiling and reinstalling.

@LabyStudio
Copy link
Owner

I just tested it and it stops working for me with your changes.
The reason why it works without the Kt suffix is because when I compile a Kotlin file it outputs two classes:
image

So why do we need the Kt suffix for hotswapping?

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.

Kotlin output file '<file>Kt.class' breaks hotswap
2 participants