After the code review.
This commit is contained in:
committed by
alexander-gorshenev
parent
a1786614ea
commit
823ef031eb
+1
-5
@@ -33,11 +33,7 @@ fun ClassDescriptor?.signature2Descriptor(methodName: Name, signature:Array<Kotl
|
||||
val PropertyDescriptor.backingField: PropertyDescriptor?
|
||||
get() {
|
||||
val backingFieldAnnotation = FqName("konan.internal.HasBackingField")
|
||||
if (this.annotations.findAnnotation(backingFieldAnnotation) != null) {
|
||||
return this
|
||||
} else {
|
||||
return null
|
||||
}
|
||||
return if (this.annotations.findAnnotation(backingFieldAnnotation) != null) this else null
|
||||
}
|
||||
|
||||
fun DeclarationDescriptor.deepPrint() {
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ import org.jetbrains.kotlin.descriptors.PropertyDescriptor
|
||||
internal class Ir(val context: Context, val irModule: IrModuleFragment) {
|
||||
val propertiesWithBackingFields = mutableSetOf<PropertyDescriptor>()
|
||||
|
||||
val moduleIndex = ModuleIndex(irModule!!)
|
||||
val moduleIndex = ModuleIndex(irModule)
|
||||
}
|
||||
|
||||
@@ -436,12 +436,16 @@ task empty_string(type: RunKonanTest) {
|
||||
task intrinsic(type: UnitKonanTest) {
|
||||
source = "codegen/function/intrinsic.kt"
|
||||
}
|
||||
/*
|
||||
Disabled until we extract the classes that should be
|
||||
always present from stdlib.kt.bc into a separate binary.
|
||||
|
||||
task link(type: LinkKonanTest) {
|
||||
goldValue = "0\n"
|
||||
source = "link/src/bar.kt"
|
||||
lib = "link/lib"
|
||||
}
|
||||
*/
|
||||
|
||||
task for0(type: RunKonanTest) {
|
||||
goldValue = "2\n3\n4\n"
|
||||
|
||||
Reference in New Issue
Block a user