koral
07/21/2017, 1:02 PMfun createFooIntent() = Intent("foo").putExtra("foo", "bar")
where putExtra
method comes from java library, returns Intent and has no NonNull/Nullable annotations then kotlin IDE plugin raises a warning: Declaration has type inferred from a platform call, which can lead to unchecked nullability issues...
. However, if that function is internal or private there is no such warning. Is this difference intended? Shouldn’t that warning be raised no matter what access modifier is?