Current intersection-type options in Kotlin

You can suppress a LOT of things for the better or worst (Edit: just realised that it should technically be “worse”, but worst as a superlative honestly conveys my point better…). The main one that most people used to use is @Suppress("NON_PUBLIC_PRIMARY_CONSTRUCTOR_OF_INLINE_CLASS") (to the point that I memorised it by heart) which now is thankfully in Kotlin 1.4.30

2 Likes