Minor, move IrClass.primaryConstructor to 'ir.tree'

This commit is contained in:
Alexander Udalov
2019-06-26 17:07:39 +02:00
parent 0a37cb561b
commit 29a144cee7
4 changed files with 4 additions and 6 deletions
@@ -395,9 +395,6 @@ fun IrClass.simpleFunctions() = declarations.flatMap {
}
}
val IrClass.primaryConstructor: IrConstructor?
get() = constructors.singleOrNull(IrConstructor::isPrimary)
fun IrClass.createParameterDeclarations() {
assert (thisReceiver == null)