Skip to content

Commit

Permalink
Fix Bytes#toString
Browse files Browse the repository at this point in the history
  • Loading branch information
Seggan committed Dec 22, 2023
1 parent 67bb212 commit 517f175
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@ interface Value {

override fun hashCode() = value.contentHashCode()

override fun toString(): kotlin.String {
return value.joinToString(prefix = "[", postfix = "]")
}

companion object {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Chunk(
/**
* An instance of the chunk.
*
* @property state The state of the instance.
* @param state The state of the instance.
*/
inner class Instance(state: State) : CallableValue {

Expand Down

0 comments on commit 517f175

Please sign in to comment.