Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit e0b4883

Browse files
committed
remove warn log
1 parent 8f0b322 commit e0b4883

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

smt-common/src/main/scala/org/bitlap/common/internal/TransformerMacro.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,6 @@ class TransformerMacro(override val c: whitebox.Context) extends AbstractMacroPr
281281
${TermName(toField.fieldName)} = $packageName.Transformer[$fromFieldType, $toFieldType].transform($fromFieldTerm)
282282
"""
283283
case (information1, information2) =>
284-
c.warning(
285-
c.enclosingPosition,
286-
s"No implicit `Transformer` is defined for ${information1.fieldType} => ${information2.fieldType}, which may cause compilation errors!!!" +
287-
s"\nPlease consider using `setType` method, or define an `Transformer[${information1.fieldType}, ${information2.fieldType}]` implicit !"
288-
)
289284
// scalafmt: { maxColumn = 400 }
290285
q"""${TermName(toField.fieldName)} = $packageName.Transformer[${information1.fieldType}, ${information2.fieldType}].transform($fromFieldTerm)"""
291286
}

0 commit comments

Comments
 (0)