You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
A local value initialised with an expression of a platform type may or may not have a type declaration:
Dunno that I like this. Just because the scope is smaller doesn't mean that the possibility of NPEs goes away. I personally think that platform types being treated as nullable without null-safe calls is the single biggest design mistake in the Kotlin language, so maybe my opinion here is overly strong, but I can't see why we would compromise null-safety for the sake of saving a few characters. =/
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A public function/method returning an expression of a platform type must declare its kotlin type explicitly:
Any property (package-level or class-level) initialised with an expression of a platform type must declare its kotlin type explicitly:
A local value initialised with an expression of a platform type may or may not have a type declaration:
The text was updated successfully, but these errors were encountered: