[IR] simplify Carriers (remove type parameters)
This commit is contained in:
committed by
Anton Bannykh
parent
adf5ee394e
commit
916a5f367c
@@ -386,11 +386,9 @@ fun usefulDeclarations(roots: Iterable<IrDeclaration>, context: JsIrBackendConte
|
||||
) {
|
||||
declaration.enqueue(klass, "annotated by @JsName")
|
||||
}
|
||||
}
|
||||
|
||||
// TODO is this needed?
|
||||
for (declaration in ArrayList(klass.declarations)) {
|
||||
// TODO this is a hack.
|
||||
// A hack to enforce property lowering.
|
||||
// Until a getter is accessed it doesn't get moved to the declaration list.
|
||||
if (declaration is IrProperty) {
|
||||
fun IrSimpleFunction.enqueue(description: String) {
|
||||
findOverriddenContagiousDeclaration()?.let { enqueue(it, description) }
|
||||
|
||||
Reference in New Issue
Block a user