When upgrading koin from 3.0.1 to 3.0.2, my unsigned literals (e.g.
var foo = 0u
) suddenly give the error
Type of the constant expression cannot be resolved. Please make sure you have the required dependencies for unsigned types in the classpath
. Any ideas?
Mark
05/20/2021, 9:29 AM
Aren’t unsigned types part of the standard library?
a
arnaud.giuliani
05/20/2021, 9:52 AM
should not have changed. Can you reproduce it without Koin?
arnaud.giuliani
05/20/2021, 9:52 AM
Kotlin 1.5.0 code
m
Mark
05/20/2021, 9:54 AM
Hmm, I haven’t upgraded to kotlin1.5.0 because of a known crash that will be fixed in the next version. However, being on kotlin 1.4.32 was not a problem on 3.0.1
Mark
05/20/2021, 9:58 AM
Oh I see, so 3.0.2 requires 1.5.0. That would explain that :)