mihon/app/src
[pʲɵs] c22e2e8159 Do not suppress a type system error (#2524)
This code was sort of fine when it used raw Java types, but the Kotlin
equivalent technically calls a method that takes a Nothing-typed
argument with a value that is not of type Nothing. Whether that works
depends on how lenient kotlinc is about inserting casts in bytecode.

The solution is to give the unknown type represented by a star an
explicit name by capturing it in a type variable, then cast to that type
instead of Nothing. This is guaranteed to be an unchecked, but valid,
cast.
2020-01-20 18:34:59 -05:00
..
debug/res Add adaptive icon and a dev variant 2018-01-13 18:15:00 +01:00
main Do not suppress a type system error (#2524) 2020-01-20 18:34:59 -05:00
test/java/eu/kanade/tachiyomi Run formatting on test package 2020-01-11 22:04:23 -05:00