Skip to content

cgm-aw/kotlin2-subclass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kotlin2-subclass

Since Kotlin 2.0.0, Kotlin does not call the subclass method in certain cases. In 'KotlinCallSubclassTest' we would expect to see that the implementations of the get() method are called, even if the method is not marked as overridden. However, this only works for Kotlin < 2.

Change the property 'kotlin.version' in pom.xml to 1.9.24 to see the correct behavior.

Ticket at Jetbrains: https://youtrack.jetbrains.com/issue/KT-72345/Method-in-subclass-no-longer-called-since-Kotlin-2.0.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published