Skip to content

Commit

Permalink
[data] make ~ an abstract type
Browse files Browse the repository at this point in the history
  • Loading branch information
road21 committed Jan 15, 2025
1 parent 81fc97e commit b9170e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kyo-data/shared/src/main/scala/kyo/Record.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import scala.compiletime.summonInline
import scala.deriving.Mirror
import scala.language.dynamics
import scala.language.implicitConversions
import scala.runtime.LazyVals.Names
import scala.util.NotGiven

/** A type-safe, immutable record structure that maps field names to values. Records solve the common need to work with flexible key-value
Expand Down Expand Up @@ -135,7 +134,7 @@ object Record:
"which is not currently supported by the Tag implementation."
)

infix opaque type ~[Name <: String, Value] = Map[Field[?, ?], Any]
infix type ~[Name <: String, Value]

/** Creates a Record from a product type (case class or tuple).
*/
Expand Down

0 comments on commit b9170e1

Please sign in to comment.