From 30741b5d6f3c4f044f55ec5f8291ceddf7c694fa Mon Sep 17 00:00:00 2001 From: Daniel Slapman Date: Sat, 2 Dec 2023 01:20:06 +0100 Subject: [PATCH] Minor code fixes --- modules/core/src/main/scala/glass/tags/at.scala | 4 ++-- modules/core/src/main/scala/glass/tags/every.scala | 4 ++-- modules/core/src/main/scala/glass/tags/index.scala | 4 ++-- modules/macro/src/main/scala-3/glass/macros/GenContains.scala | 1 - 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/modules/core/src/main/scala/glass/tags/at.scala b/modules/core/src/main/scala/glass/tags/at.scala index 33fadbe..3a4df93 100644 --- a/modules/core/src/main/scala/glass/tags/at.scala +++ b/modules/core/src/main/scala/glass/tags/at.scala @@ -1,7 +1,7 @@ -package glass -package tags +package glass.tags import glass.functions +import glass.PContains object at extends TaggerObj[PContains] { implicit def atMap[K, V]: TagApply[PContains, Map[K, V], Option[V], this.type, K] = diff --git a/modules/core/src/main/scala/glass/tags/every.scala b/modules/core/src/main/scala/glass/tags/every.scala index 463a587..d29521a 100644 --- a/modules/core/src/main/scala/glass/tags/every.scala +++ b/modules/core/src/main/scala/glass/tags/every.scala @@ -1,7 +1,7 @@ -package glass -package tags +package glass.tags import glass.functions +import glass.PItems object every extends TaggerObj[PItems] { implicit def everyMap[K, V1, V2]: PTagApply[PItems, Map[K, V1], Map[K, V2], V1, V2, this.type, Unit] = diff --git a/modules/core/src/main/scala/glass/tags/index.scala b/modules/core/src/main/scala/glass/tags/index.scala index bc1e5f4..0d4bfd4 100644 --- a/modules/core/src/main/scala/glass/tags/index.scala +++ b/modules/core/src/main/scala/glass/tags/index.scala @@ -1,7 +1,7 @@ -package glass -package tags +package glass.tags import glass.functions +import glass.PProperty object index extends TaggerObj[PProperty] { implicit def indexMap[K, V]: TagApply[PProperty, Map[K, V], V, this.type, K] = diff --git a/modules/macro/src/main/scala-3/glass/macros/GenContains.scala b/modules/macro/src/main/scala-3/glass/macros/GenContains.scala index fcd9b71..41ef389 100644 --- a/modules/macro/src/main/scala-3/glass/macros/GenContains.scala +++ b/modules/macro/src/main/scala-3/glass/macros/GenContains.scala @@ -4,7 +4,6 @@ import scala.quoted.* import glass.Contains import glass.macros.internal.* -import scala.annotation.tailrec object GenContains: def apply[A]: MkContains[A] = new MkContains[A]