Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 21c4045

Browse files
committed
chore(cufyorg-PED-bson): removed unneeded function
was not the cause of the issue in the first place
1 parent 3fe0410 commit 21c4045

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

cufyorg-PED-bson/src/commonMain/kotlin/BsonExtensions.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,3 @@ inline operator fun <I> Codec<I, BsonDocument>.invoke(block: BsonDocumentBlock):
5454
operator fun <I> BsonDocumentLike.get(codec: FieldCodec<I, out BsonElement>): I {
5555
return this[codec.name] decodeAny codec
5656
}
57-
58-
/**
59-
* Get the value of the field with the name of the
60-
* given [codec] and decode it using the given [codec].
61-
*/
62-
// DO NOT REMOVE! fixes wierd kotlin compiler issue
63-
operator fun <I> BsonDocumentLike.get(codec: BsonFieldCodec<I, out BsonElement>): I {
64-
return this[codec.name] decodeAny codec
65-
}

0 commit comments

Comments
 (0)