karelpeeters
07/10/2017, 3:17 PMnew Task;
, that's not really valid Java. Are you sure there's not some issue with the decompiler? Kotlin does sometimes generate bytecode that doesn't have a valid Java counterpart.wasyl
07/10/2017, 3:18 PMnull
, so something’s definitely wrong. When I extract the when, it works finewasyl
07/10/2017, 3:19 PML0
ALOAD 1
LDC "parcel"
INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V
L1
LINENUMBER 47 L1
NEW com/homer/courierapp/domain/entity/Task
DUP
L2
LINENUMBER 48 L2
ALOAD 1
INVOKEVIRTUAL android/os/Parcel.readLong ()J
karelpeeters
07/10/2017, 3:19 PMwasyl
07/10/2017, 3:20 PMnull
when I run itwasyl
07/10/2017, 3:20 PMkarelpeeters
07/10/2017, 3:21 PMwasyl
07/10/2017, 3:41 PMwhen
doesn’t work, but when extracted it does. If not, I’ll create a proper issue for thatkarelpeeters
07/10/2017, 3:42 PMkarelpeeters
07/10/2017, 4:48 PMwasyl
07/11/2017, 9:28 AM