[FIR] Move JvmMappedScope to fir:jvm module
This commit is contained in:
committed by
Mikhail Glukhikh
parent
16c82030a3
commit
5b8ab76613
+2
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@@ -103,6 +103,7 @@ private val unitClassId = ClassId.topLevel(FqName("kotlin.Unit"))
|
||||
private fun FirTypeRef.isVoid(): Boolean {
|
||||
return when (this) {
|
||||
is FirJavaTypeRef -> {
|
||||
val type = type
|
||||
type is JavaPrimitiveType && type.type == null
|
||||
}
|
||||
is FirResolvedTypeRef -> {
|
||||
@@ -17,7 +17,6 @@ import org.jetbrains.kotlin.fir.scopes.impl.FirClassUseSiteMemberScope
|
||||
import org.jetbrains.kotlin.fir.scopes.impl.FirStandardOverrideChecker
|
||||
import org.jetbrains.kotlin.fir.scopes.impl.FirSuperTypeScope
|
||||
import org.jetbrains.kotlin.fir.scopes.impl.declaredMemberScope
|
||||
import org.jetbrains.kotlin.fir.scopes.jvm.JvmMappedScope
|
||||
import org.jetbrains.kotlin.fir.symbols.ConeClassLikeLookupTag
|
||||
import org.jetbrains.kotlin.fir.symbols.ConeClassifierLookupTag
|
||||
import org.jetbrains.kotlin.fir.symbols.ConeClassifierLookupTagWithFixedSymbol
|
||||
|
||||
Reference in New Issue
Block a user