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

Don't throw exception from K.Constructor#withType() #462

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

knutwannheden
Copy link
Contributor

As the constructor's type must be changed through K.Constructor#methodDeclaration, the withType() method is now simply a no-op (which is also something we do in some other places).

Fixes: #433

As the constructor's type must be changed through `K.Constructor#methodDeclaration`, the `withType()` method is now simply a no-op (which is also something we do in some other places).

Fixes: #433
@timtebeek timtebeek merged commit 075e40a into main Nov 22, 2023
3 checks passed
@timtebeek timtebeek deleted the 433-fix branch November 22, 2023 19:31
@timtebeek timtebeek added the bug Something isn't working label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

UnsupportedOperationException thrown when running a ChangeType recipe on a Kotlin file
2 participants