FIR2IR: make anonymous object constructor public to match K1 behavior
This commit is contained in:
committed by
Space Team
parent
e1c2dc06f1
commit
0ecfcf4380
@@ -49,7 +49,7 @@ internal object EmptyArrayMap : ArrayMap<Nothing> {
|
||||
override operator fun iterator(): Iterator<Nothing> {
|
||||
return { // BLOCK
|
||||
local class <no name provided> : Iterator<Nothing> {
|
||||
private constructor() /* primary */ {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
@@ -109,7 +109,7 @@ internal class OneElementArrayMap<T : Any> : ArrayMap<T> {
|
||||
override operator fun iterator(): Iterator<T> {
|
||||
return { // BLOCK
|
||||
local class <no name provided> : Iterator<T> {
|
||||
private constructor() /* primary */ {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
@@ -211,7 +211,7 @@ internal class ArrayMapImpl<T : Any> : ArrayMap<T> {
|
||||
override operator fun iterator(): Iterator<T> {
|
||||
return { // BLOCK
|
||||
local class <no name provided> : AbstractIterator<T> {
|
||||
private constructor() /* primary */ {
|
||||
constructor() /* primary */ {
|
||||
super/*AbstractIterator*/<T>()
|
||||
/* <init>() */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user