Commit 424db4c
committed
fix: kotlin.Result 제네릭 타입 정보 보존으로 Retrofit CallAdapter 생성 실패 해결
R8이 inline class인 kotlin.Result의 제네릭 Signature를 최적화하면서
Retrofit이 Call<Result<T>>의 타입 파라미터를 읽지 못해
ResultCallAdapterFactory에서 IllegalArgumentException 발생.
-keep class kotlin.Result + -keepattributes Signature 추가.
square/retrofit#38801 parent 76a715f commit 424db4c
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
0 commit comments