You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-14Lines changed: 0 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -59,20 +59,6 @@ plugins {
59
59
}
60
60
```
61
61
62
-
#### Kotlin 1.5.10
63
-
64
-
In Kotlin 1.5.10 you might get a recursion error during compilation (see [#4](https://github.com/rickclephas/KMP-NativeCoroutines/issues/4)).
65
-
The issue is with implicit return types. To fix this you should use explicit return types for your public API:
66
-
```kotlin
67
-
privateval_time=MutableStateFlow(0L)
68
-
69
-
// The following will generate a recursion error in Kotlin 1.5.10
70
-
val time =_time.asStateFlow()
71
-
72
-
// Specifying the return type fixes the recursion
73
-
val time:StateFlow<Long> =_time.asStateFlow()
74
-
```
75
-
76
62
### Swift
77
63
78
64
Now for Swift you can choose from a couple of implementations.
0 commit comments