Certain features in Compose compiler (e.g. default parameters on interfaces) are only available in the new versions of compiler and trying to use older version of Kotlin with binaries produced by that compiler will result in compile time / runtime crashes.
We should respect language and api version flags to warn library developers when APIs they are using will not be compatible with target language / api version.
Description
We should respect language and api version flags to warn library developers when APIs they are using will not be compatible with target language / api version.