Evening guys, is there a supress tag like `CONFLIC...
# multiplatform
j
Evening guys, is there a supress tag like
CONFLICTING_OVERLOADS
but for returning type ?
Copy code
override fun mapView(mapView: MKMapView, viewForOverlay: MKOverlayProtocol): MKOverlayView
    override fun mapView(mapView: MKMapView, rendererForOverlay: MKOverlayProtocol): MKOverlayRenderer
there are these two (at least) on MKMapViewDelegateProtocol
nevermind, it's just an IDE red warning...
g
how did you solved it ?)
updating to kt2.0 helped
g
oh, cannot run app still , using both k2 and k2.0.20-rc2
j
yeah I couldn't fully update to kt2 either, it has another issues in my project, but this particular one seems to be fixed in kt2
g
i have like project built in K2 from scratch 😕 anyway thx
ok adding anotation:
Copy code
@Suppress("RETURN_TYPE_MISMATCH_ON_OVERRIDE", "UNCHECKED_CAST","INAPPLICABLE_TYPE_ARGUMENT")
helped
👍 1
event only with
RETURN_TYPE_MISMATCH_ON_OVERRIDE