[FIR] Drop using of JavaSymbolProvider and OptionalAnnotationClassesProvider in FirCommonSessionFactory
Drop using of all Java stuff inside FirCommonSessionFactory ^KT-56063
This commit is contained in:
committed by
Space Team
parent
4be359ba02
commit
d829f8b684
@@ -0,0 +1,5 @@
|
||||
$TESTDATA_DIR$/optionalAnnotationsFromMetadata.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-cp
|
||||
$TESTDATA_DIR$/../../../../dist/common/kotlin-stdlib-common.jar
|
||||
@@ -0,0 +1,10 @@
|
||||
import kotlin.math.*
|
||||
import kotlin.js.*
|
||||
import kotlin.Result.Companion.success
|
||||
|
||||
fun f(x: Int) = abs(x)
|
||||
|
||||
@JsName("test")
|
||||
public class C
|
||||
|
||||
fun g() = success(true)
|
||||
@@ -0,0 +1 @@
|
||||
OK
|
||||
@@ -0,0 +1,7 @@
|
||||
$TESTDATA_DIR$/optionalAnnotationsFromMetadata.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-cp
|
||||
$TESTDATA_DIR$/../../../../dist/common/kotlin-stdlib-common.jar
|
||||
-language-version
|
||||
2.0
|
||||
@@ -0,0 +1,2 @@
|
||||
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
|
||||
OK
|
||||
Reference in New Issue
Block a user