Skip to content

Commit 6bbd9ca

Browse files
author
frederic.montariol
committed
all classes need constructor !
1 parent 3f08e35 commit 6bbd9ca

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

core/reactivity-common/src/main/kotlin/reactivity/experimental/Multi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ interface IMulti<T> : PublisherCommons<T> {
138138

139139
internal class MultiImpl<T>(override val delegate: Publisher<T>,
140140
override val initialScheduler: Scheduler)
141-
: AMulti<T>, Publisher<T> by delegate
141+
: AMulti<T>(), Publisher<T> by delegate
142142

143143
interface IMultiImpl<T> : IMulti<T> {
144144

core/reactivity-common/src/main/kotlin/reactivity/experimental/MultiGrouped.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package reactivity.experimental
22

3-
abstract class MultiGrouped<T, out U> : Multi<T> {
3+
abstract class MultiGrouped<T, out U> : Multi<T>() {
44
abstract val key: U
55
// functions from WithCallbacks
66

core/reactivity-common/src/main/kotlin/reactivity/experimental/PublisherPublishOn.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface WithPublishOn {
1313
}
1414

1515
internal class PublisherPublishOn<T> internal constructor(val delayError: Boolean, val prefetch: Int) :
16-
LinkedListChannel<T>, Subscriber<T>, ReceiveChannel<T>, Closeable {
16+
LinkedListChannel<T>(), Subscriber<T>, ReceiveChannel<T>, Closeable {
1717

1818
@Volatile
1919
@JvmField

core/reactivity-common/src/main/kotlin/reactivity/experimental/Scheduler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ interface WithContext {
66
val context: CoroutineContext
77
}
88

9-
class SchedulerImpl(override val context: CoroutineContext) : Scheduler
9+
class SchedulerImpl(override val context: CoroutineContext) : Scheduler()

core/reactivity-common/src/main/kotlin/reactivity/experimental/Solo.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ interface ISolo<T> : PublisherCommons<T> {
5656

5757
internal class SoloImpl<T>(override val delegate: Publisher<T>,
5858
override val initialScheduler: Scheduler)
59-
: ASolo<T>, Publisher<T> by delegate
59+
: ASolo<T>(), Publisher<T> by delegate
6060

6161
interface ISoloImpl<T> : ISolo<T> {
6262

core/reactivity-common/src/main/kotlin/reactivity/experimental/expectKotlinxCoroutines.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ expect interface ReceiveChannel<out E> {
4040
val onReceive: SelectClause1<E>
4141
operator fun iterator() : ChannelIterator<E>
4242
}
43-
expect open class LinkedListChannel<E> {
43+
expect open class LinkedListChannel<E>() {
4444
// from superclass AbstractSendChannel
4545
protected open fun afterClose(cause: Throwable?)
4646
open fun close(cause: Throwable?): Boolean

core/reactivity-common/src/main/kotlin/reactivity/experimental/expectMulti.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package reactivity.experimental
22

3-
expect abstract class Multi<T> : IMulti<T>
3+
expect abstract class Multi<T>() : IMulti<T>
44

5-
expect abstract class AMulti<T> : Multi<T>, IMultiImpl<T>
5+
expect abstract class AMulti<T>() : Multi<T>, IMultiImpl<T>
66

77
expect fun <T> Publisher<T>.toMulti(): Multi<T>
88

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package reactivity.experimental
22

3-
expect abstract class Scheduler : WithContext
3+
expect abstract class Scheduler() : WithContext
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package reactivity.experimental
22

3-
expect abstract class Solo<T> : ISolo<T>
3+
expect abstract class Solo<T>() : ISolo<T>
44

5-
expect abstract class ASolo<T> : Solo<T>, ISoloImpl<T>
5+
expect abstract class ASolo<T>() : Solo<T>, ISoloImpl<T>

0 commit comments

Comments
 (0)