[IR] simplify Carriers (remove type parameters)

This commit is contained in:
Anton Bannykh
2020-03-04 12:07:43 +03:00
committed by Anton Bannykh
parent adf5ee394e
commit 916a5f367c
19 changed files with 29 additions and 39 deletions
@@ -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) }