Use Array constructor with size to create Array of nulls
Change the constructor visibility from public to private as it should be.
This commit is contained in:
committed by
Space Team
parent
a6520a294b
commit
77491ded1b
@@ -119,4 +119,4 @@ internal fun stringGetPoolSize(): Int =
|
||||
// This initializer is a special case in FieldInitializersLowering
|
||||
@Suppress("DEPRECATION")
|
||||
@EagerInitialization
|
||||
internal val stringPool: Array<String?> = arrayOfNulls(stringGetPoolSize())
|
||||
internal val stringPool: Array<String?> = Array(stringGetPoolSize())
|
||||
Reference in New Issue
Block a user