What is `versionRequirements` in the kotlin metada...
# compiler
m
What is
versionRequirements
in the kotlin metadata? Is it a build-time requirement? stdlib requirement? something else? Adding
-Xjvm-default=all
adds a Kotlin 1.4 requirement on the generated class and I'm curious the reason.
e
https://youtrack.jetbrains.com/issue/KT-4779 was added in Kotlin 1.4 so that seems to make sense
m
Right. Thanks! Never realized there was per-class version requirements. I though it was all based on the top level metadata version.
m
Thanks!