Skip to content

Commit

Permalink
Add default impls for ContinuationFrame's depth and subIotas to reduc…
Browse files Browse the repository at this point in the history
…e addon breakage
  • Loading branch information
vgskye committed Nov 28, 2024
1 parent 6c5798b commit 35d2f46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ interface ContinuationFrame {
* Return the number of iotas contained inside this frame, used for determining whether it is valid to serialise.
*/
fun size(): Int
fun depth(): Int
fun subIotas(): Iterable<Iota>?
fun depth(): Int = 0
fun subIotas(): Iterable<Iota>? = null

val type: Type<*>

Expand Down

0 comments on commit 35d2f46

Please sign in to comment.