[FIR] Handle expect declarations in JVM backend
1. Do not generate bytecode for expect declarations 2. Serialize @OptionalExpectation annotations into .kotlin_module file ^KT-62931: Fixed
This commit is contained in:
committed by
Space Team
parent
b74501ee93
commit
d753a22fc6
@@ -46,6 +46,14 @@ open class SerializableStringTable : StringTable {
|
||||
private val strings = Interner<String>()
|
||||
private val qualifiedNames = Interner<FqNameProto>()
|
||||
|
||||
fun addString(string: String) {
|
||||
strings.intern(string)
|
||||
}
|
||||
|
||||
fun addQualifiedName(qualifiedName: ProtoBuf.QualifiedNameTable.QualifiedName) {
|
||||
qualifiedNames.intern(FqNameProto(qualifiedName.toBuilder()))
|
||||
}
|
||||
|
||||
override fun getStringIndex(string: String): Int = strings.intern(string)
|
||||
|
||||
override fun getQualifiedClassNameIndex(className: String, isLocal: Boolean): Int =
|
||||
|
||||
Reference in New Issue
Block a user