If somebody has a library written in Kotlin (lazy ...
# build-tools
a
If somebody has a library written in Kotlin (lazy to setup, sorry), can you please check next case: 0)
app
depends on
lib b
1)
lib b
depends on
lib a
2)
lib a
has an
enum
3)
lib b
has next code:
Copy code
fun curious(enumValue: enum) = when (enumValue) {
  enum.first -> …
  enum.second -> …
}
Kotlin compiler won’t let this code compile if we won’t handle all cases. So the question is what if we modify the enum in the
lib a
and try to compile
app
with new version of
lib a
and old version of
lib b
?