FE: use proper version in version requirement error message

#KT-48690 Fixed
This commit is contained in:
Mikhail Glukhikh
2021-11-25 11:18:08 +03:00
parent 2f1d415e4d
commit 4550999288
8 changed files with 45 additions and 5 deletions
@@ -0,0 +1,7 @@
compiler/testData/cli/jvm/requireKotlinCompilerVersion.kt:12:20: error: 'Foo' is only available since Kotlin 9.9.90 and cannot be used in Kotlin $VERSION$
import test.access.Foo
^
compiler/testData/cli/jvm/requireKotlinCompilerVersion.kt:15:5: error: 'Foo' is only available since Kotlin 9.9.90 and cannot be used in Kotlin $VERSION$
Foo()
^
COMPILATION_ERROR