JS backend: make CallTranslator more comfortable to use from java
This commit is contained in:
+3
@@ -31,9 +31,12 @@ import org.jetbrains.kotlin.resolve.calls.model.VariableAsFunctionResolvedCall
|
||||
import org.jetbrains.kotlin.resolve.calls.tasks.ExplicitReceiverKind.NO_EXPLICIT_RECEIVER
|
||||
import org.jetbrains.kotlin.resolve.scopes.receivers.ExpressionReceiver
|
||||
import org.jetbrains.kotlin.resolve.scopes.receivers.ReceiverValue
|
||||
import kotlin.platform.platformStatic
|
||||
import kotlin.test.assertNotNull
|
||||
|
||||
object CallTranslator {
|
||||
jvmOverloads
|
||||
platformStatic
|
||||
fun translate(context: TranslationContext,
|
||||
resolvedCall: ResolvedCall<out FunctionDescriptor>,
|
||||
extensionOrDispatchReceiver: JsExpression? = null
|
||||
|
||||
Reference in New Issue
Block a user