jeggy
07/30/2025, 11:12 AMSmart cast to 'ImageData' is impossible, because 'selectedIcon' is a property that has an open or custom getter.
But Intellij says:
Unnecessary non-null assertion (!!) on a non-null receiver of type 'ImageData'.
I understand that it's IntelliJ that is reporting it incorrectly. So how can I fix my IntelliJ, so it does not suggest to remove the !!
?bod
07/30/2025, 12:00 PMjeggy
07/30/2025, 12:04 PMjeggy
07/30/2025, 12:04 PMbod
07/30/2025, 12:06 PMjeggy
07/30/2025, 12:09 PMbod
07/30/2025, 12:10 PMjeggy
07/30/2025, 12:12 PMjeggy
07/30/2025, 1:17 PMjeggy
07/30/2025, 1:17 PMval
. so this issue of it being open is not relevantbod
07/30/2025, 1:18 PMjeggy
07/30/2025, 1:19 PMSmart cast to 'ImageData' is impossible, because 'selectedIcon' is a property that has an open or custom getter.
when executed ./gradlew compileKotlin
, but when I ran it with ./gradlew compileKotlin --rerun-tasks
it didn't failbod
07/30/2025, 1:20 PM