Hi, I wanted to test improvements to inline classe...
# announcements
o
Hi, I wanted to test improvements to inline classes in KT-1.4.30-M1. I thought it was possible to have inline classes with internal / private constructors? Is this not possible? If you want to have a look, here's some code.
i
What's the problem with this code?
mvn package
compiles it just fine.
y
If it's giving you a compiler error, try using
Copy code
@Suppress("NON_PUBLIC_PRIMARY_CONSTRUCTOR_OF_INLINE_CLASS")
(side note: I've typed this so much before that I remember it by heart now lol)
🙌 1
o
You're right Ilya, but Kotlin compiler gave me an error. Thank you very much Youssef!
i
What compiler do you mean? The one in maven or the one in IDE? If the latter, you should check that you have updated Kotlin IDE plugin.
o
The one in IDE. Will check for update, thank you very much! 🙌