Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 2564fe9

Browse files
author
wrongwrong
committed
循環参照によりstack overflow errorを起こす問題を修正
1 parent 6d5994f commit 2564fe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/mapk/fastkfunction/argumentbucket/ArgumentBucket.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ class ArgumentBucket(
6161
}
6262

6363
override val entries: Set<Map.Entry<KParameter, Any?>>
64-
get() = keys.fold(HashSet()) { acc, cur ->
64+
get() = keyList.fold(HashSet()) { acc, cur ->
6565
acc.apply { if (initializationStatuses[cur.index]) add(Entry(cur, valueArray[cur.index])) }
6666
}
6767
override val keys: Set<KParameter>
68-
get() = keys.fold(HashSet()) { acc, cur ->
68+
get() = keyList.fold(HashSet()) { acc, cur ->
6969
acc.apply { if (initializationStatuses[cur.index]) add(cur) }
7070
}
7171
override val size: Int get() = initializationStatuses.count { it }

0 commit comments

Comments
 (0)