Open radimjanda754 opened 1 year ago
I would like to generate swift code for following extension:
fun ExceptionData.blockingError( onLoginClicked: (() -> Unit)? = null, onRegisterClicked: (() -> Unit)? = null, onRetryClicked: () -> Unit, ) : BlockingError
However the plugin generates lambdas as Function0 which doesn't work.
public extension shared.ExceptionData { @discardableResult public func blockingError( onLoginClicked: Function0<Void>, onRegisterClicked: Function0<Void>, onRetryClicked: Function0<Void> ) -> BlockingError
Could it be possible to properly generate code for lambdas?
I would like to generate swift code for following extension:
However the plugin generates lambdas as Function0 which doesn't work.
Could it be possible to properly generate code for lambdas?