perryprog
03/30/2018, 3:51 PMperryprog
03/30/2018, 3:51 PMkarelpeeters
03/30/2018, 6:08 PMpoohbar
03/30/2018, 6:12 PMuser
03/30/2018, 6:40 PMhttps://kotlinlang.slack.com/files/U0C1JH0RF/F9YU8KP6H/image.png▾
report to jetbrains
.perryprog
03/30/2018, 7:07 PMperryprog
03/30/2018, 9:36 PMuser
03/30/2018, 9:39 PMhttps://kotlinlang.slack.com/files/U5KGFBE73/FA047M29M/image.png▾
user
04/01/2018, 9:12 AMhttps://kotlinlang.slack.com/files/U5KGFBE73/FA047M29M/image.png▾
user
04/01/2018, 9:15 AMhttps://kotlinlang.slack.com/files/U5KGFBE73/FA047M29M/image.png▾
poohbar
04/02/2018, 2:11 PMRobert Menke
04/02/2018, 10:34 PMo.semen
04/03/2018, 7:03 AMo.semen
04/03/2018, 7:05 AMo.semen
04/03/2018, 7:06 AMScreen Shot 2018-04-03 at 10.05.42 AM.png▾
o.semen
04/07/2018, 9:00 PMAndroid modules in multiplatform projects
feature of 1.2.30 but IDEA (2018.1 CE and 2018.1 EAP) does not allow to create android module in multiplatform module. Dialog just shakes without any warning or message.o.semen
04/07/2018, 9:09 PMJurriaan Mous
04/10/2018, 6:50 AMSmart cast to 'string' is impossible, because 'token.value' is a public API property declared in different module
? I have a property that returns a String?
and after a null check could be smart casted to String
. If I dumb cast it with !! then the compiler warns with: w: PATH: Unnecessary non-null assertion (!!) on a non-null receiver of type String
. What is a proper solution for this?Jurriaan Mous
04/10/2018, 6:51 AMJurriaan Mous
04/10/2018, 6:51 AMSmart cast impossible▾
gildor
04/10/2018, 6:56 AMtoken.value
returns stable value (maybe it returns null or non-null randomly for example, val
is just getter)
So, to solve it just assign token.value
to local variable and use it insteadJurriaan Mous
04/10/2018, 7:22 AMas local val▾
Jurriaan Mous
04/10/2018, 7:23 AMgildor
04/10/2018, 7:23 AMtoken.value == null
condition and replace token.value
with value
gildor
04/10/2018, 7:25 AMgildor
04/10/2018, 7:26 AMelect
04/11/2018, 10:05 AM2D
otakusenpai
04/14/2018, 9:18 AMotakusenpai
04/14/2018, 9:19 AMkarelpeeters
04/14/2018, 9:21 AMjava.lang.Thread
?