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,16 @@
// Library part (build separately)
//@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
//package test.access
//
//import kotlin.internal.RequireKotlin
//import kotlin.internal.RequireKotlinVersionKind
//
//@RequireKotlin("9.9.90", versionKind = RequireKotlinVersionKind.COMPILER_VERSION)
//class Foo
import test.access.Foo
fun main() {
Foo()
}