Closed ashishmahla closed 3 years ago
The following implementation shows lint error. Changing function implementation to use braces doesn't throw that lint.
override fun onRequestPermissionsResult( requestCode: Int, permissions: Array<out String>, grantResults: IntArray ) = onRequestPermissionsResult(requestCode, grantResults)
This is a valid call and should not throw the lint error.
thank you for the report. let us check.
I wonder if the Lint rule trips over the explicit return type of Unit when the method is written like an assignment. 🤔
Unit
The following implementation shows lint error. Changing function implementation to use braces doesn't throw that lint.
This is a valid call and should not throw the lint error.