Skip to content

Commit

Permalink
nowarn.
Browse files Browse the repository at this point in the history
  • Loading branch information
khajavi committed Mar 1, 2023
1 parent 3912e80 commit 96facd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ lazy val zioConfig = crossProject(JSPlatform, JVMPlatform, NativePlatform)
stdSettings(
name = "zio-config",
packageName = Some("zio.config"),
enableCrossProject = true,
turnCompilerWarningIntoErrors = false
enableCrossProject = true
)
)
.settings(macroDefinitionSettings)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package zio.config

import scala.annotation.nowarn
import scala.reflect.macros.whitebox

trait TupleConversion[A, B] {
Expand All @@ -10,6 +11,7 @@ trait TupleConversion[A, B] {
object TupleConversion {
def apply[P, T]: TupleConversion[P, T] = macro genTupleConversion[P, T]

@nowarn("msg=evidence parameter")
def genTupleConversion[P: c.WeakTypeTag, T: c.WeakTypeTag](
c: whitebox.Context
): c.Expr[TupleConversion[P, T]] = {
Expand Down

0 comments on commit 96facd1

Please # to comment.