https://kotlinlang.org logo
Title
u

ursus

03/16/2018, 6:26 PM
and in java it does work without it aswell
r

Ruckus

03/16/2018, 6:29 PM
I'm not sure as I have next to no experience with rx (hopefully someone else can help), but does it have anything to do with raw types? Kotlin does not allow raw types.
u

ursus

03/16/2018, 6:29 PM
no no
here is code for the error()
public static <T> Single<T> error(final Throwable exception) {
        ObjectHelper.requireNonNull(exception, "error is null");
        return error(Functions.justCallable(exception));
    }
f

fred.deschenes

03/16/2018, 6:32 PM
yeah I ran into this issue with JDBI as well, see this : https://youtrack.jetbrains.com/issue/KT-5464
u

ursus

03/16/2018, 6:47 PM
thanks, ill look into it