Is there any proposals on inferring enum class mem...
# announcements
a
Is there any proposals on inferring enum class members or sealed class types in
when
statements (or theoretically any call site). so things like:
Copy code
when (obj) {
  is ApiResponse.success ->
  is ApiResponse.error ->
}
could be written like:
Copy code
when (obj) {
  is .success ->
  is .error ->
}
­čŹÄ 1