Today we introduced a bug in our code that I’d like to know if we could have avoided with the compiler’s help. When overriding onActivityResult, the IDE suggest this signature
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?)