nestserau12/20/2018, 10:53 AM
So the IDE complains about the “redundant” cast after
val result = backend.send(LoginMessageStrategy(login)) assertTrue(result is MessageResult.ok<SessionState>, "$result") val sessionState = (result as MessageResult.ok<SessionState>).value
, but if I remove it, then the unit test fails for iOS with an exception saying
not found on
, so I have to keep it there and let the IDE and the compiler complain, but at least it works for both platforms! If there is a better place to report MPP issues, please let me know.
thevery12/20/2018, 11:57 AM
nestserau12/20/2018, 12:37 PM