also true of 1.1.3-2 which a little birdy told me ...
# android
j
also true of 1.1.3-2 which a little birdy told me is the version you're using
i
Haha that birdy is correct, we are using 1.1.3-2
This is the class that contains that function in the library
Copy code
kotlin-stdlib-1.1.3-2.jar!/kotlin/collections/collections.kotlin_builtins
j
Hmm yeah I see it in there although I don't know what the binary around it indicates
I would recommend filing an issue so the JetBrains people can get involved.
i
Ok I will.
But do you know why Android Studio or lint isn't reporting a warning when using this method ?
j
Lint doesn't check bytecode and this method isn't annotated with anything lint would recognize as requiring a certain API level.
i
Only the javadoc contains
* @since JDK 1.8
e
@ion if you opened a ticket do you have the number ? We have the same issue and not sure what to do except asking developer not to use
getOrDefault
.
i
e
thanks !