Remove TypeOfChecker for JVM frontend

This is needed to support typeOf with non-reified type parameters.

 #KT-30279
This commit is contained in:
Alexander Udalov
2020-04-29 19:22:35 +02:00
parent 0c0f4ef3db
commit ea413cefb4
10 changed files with 17 additions and 55 deletions
@@ -23,6 +23,7 @@ import org.jetbrains.kotlin.js.analyze.JsNativeDiagnosticSuppressor
import org.jetbrains.kotlin.js.naming.NameSuggestion
import org.jetbrains.kotlin.js.resolve.diagnostics.*
import org.jetbrains.kotlin.resolve.PlatformConfiguratorBase
import org.jetbrains.kotlin.resolve.calls.checkers.TypeOfChecker
import org.jetbrains.kotlin.resolve.checkers.ExpectedActualDeclarationChecker
import org.jetbrains.kotlin.resolve.deprecation.CoroutineCompatibilitySupport
import org.jetbrains.kotlin.types.DynamicTypesAllowed
@@ -39,7 +40,8 @@ object JsPlatformConfigurator : PlatformConfiguratorBase(
additionalCallCheckers = listOf(
JsModuleCallChecker,
JsDynamicCallChecker,
JsDefinedExternallyCallChecker
JsDefinedExternallyCallChecker,
TypeOfChecker,
),
identifierChecker = JsIdentifierChecker
) {