[IR] Remove files parameter from IrModuleFragmentImpl

This commit removes the default parameter in constructor,
as well as custom logic in this class, which would
make it harder for its subsequent auto-generation.

^KT-65773 In Progress
This commit is contained in:
Wojciech Litewka
2024-02-13 21:41:27 +01:00
committed by Space Team
parent 83bc12949b
commit 2a5b4ae652
6 changed files with 13 additions and 13 deletions
@@ -26,7 +26,6 @@ import org.jetbrains.kotlin.name.Name
class IrModuleFragmentImpl(
override val descriptor: ModuleDescriptor,
override val irBuiltins: IrBuiltIns,
files: List<IrFile> = emptyList(),
) : IrModuleFragment() {
override val startOffset: Int
get() = UNDEFINED_OFFSET
@@ -36,5 +35,5 @@ class IrModuleFragmentImpl(
override val name: Name get() = descriptor.name
override val files: MutableList<IrFile> = files.toMutableList()
override val files: MutableList<IrFile> = ArrayList()
}