Skip to content

Commit

Permalink
Avoid Kotlin compiler bug (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewparmet authored May 13, 2021
1 parent f518b08 commit 71376f9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private constructor(
write(Tag((fieldNumber shl 3) or wireType))

override fun equals(other: Any?) =
equalsUsingSequence(other, Field::size, Field::asSequence)
equalsUsingSequence(other, { it.size }, Field::asSequence)

override fun hashCode() =
hashCodeUsingSequence(asSequence())
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 71376f9

Please sign in to comment.