moxy-community / Moxy

Moxy is MVP library for Android with incremental annotation processor and ktx features
MIT License
324 stars 33 forks source link

Moxy not works with inline types in interface parameters #109

Open y2k opened 4 years ago

y2k commented 4 years ago

Example code

import kotlin.time.Duration
import moxy.MvpView

interface FooView : MvpView {
    fun bar(duration: Duration)
}

Error

error: FooView$$State is not abstract and does not override abstract method bar-LRDsOJo(double) in FooView
public class FooView$$State extends MvpViewState<FooView> implements FooView {
       ^