Kotlin compiler error when extending JavaFX ModifiableObservableListBase
Answered
I am using IntelliJ IDEA. Why does the following code not compile? The editor does not complain about it. Only the project build process generates an error:
Code is as follows:
(When I replace MyString with String, it works OK. I have stripped down the original code to the bare bone minimum for demonstration. That's why the code appears not to do anything meaningful).
Please sign in to leave a comment.
Please report at https://youtrack.jetbrains.com/issues/KT with the sample project to reproduce. Specify the exact JDK build you are using.
Hi Serge. I tried to enter the case in the issues tracker as asked for by you but failed. I don't know how to tell the entry form the right "project". Apparently the case must be related to some project and I am not familiarwith that. When I press the "create" button it keeps on asking me for the project.
Try this link: https://youtrack.jetbrains.com/newIssue?project=KT .
Done. Thanks. The link to the issue is https://youtrack.jetbrains.com/issue/KT-30572?project=KT