Edoardo Luppi
02/23/2024, 1:32 PM@Suppress("VAR_TYPE_MISMATCH_ON_OVERRIDE")
https://github.com/lppedd/kotlin-externals/commit/275f011ea65ebc6e6c57b855f71c4697d5ec8d70
It compiles, but with K2 I get:
This code uses error suppression for 'VAR_TYPE_MISMATCH_ON_OVERRIDE'. While it might compile and work, the compiler behavior is UNSPECIFIED and WON'T BE PRESERVED
So I was wondering if it make sense to keep it. Haven't found another way apart from using annotations.Artem Kobzar
02/23/2024, 1:51 PM@Suppress
.Edoardo Luppi
02/23/2024, 1:55 PMArtem Kobzar
02/23/2024, 2:16 PMEdoardo Luppi
02/23/2024, 3:24 PMturansky
02/23/2024, 6:23 PM