From d2392647da016fcd67cd6e39aaba10dda87e9e20 Mon Sep 17 00:00:00 2001 From: Mateusz Kubuszok Date: Thu, 3 Aug 2023 21:59:05 +0200 Subject: [PATCH] Remove println left after debugging --- .../chimney/internal/compiletime/ExprPromisesPlatform.scala | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/chimney-macro-commons/src/main/scala-3/io/scalaland/chimney/internal/compiletime/ExprPromisesPlatform.scala b/chimney-macro-commons/src/main/scala-3/io/scalaland/chimney/internal/compiletime/ExprPromisesPlatform.scala index 59ad72ec0..8c538ca7b 100644 --- a/chimney-macro-commons/src/main/scala-3/io/scalaland/chimney/internal/compiletime/ExprPromisesPlatform.scala +++ b/chimney-macro-commons/src/main/scala-3/io/scalaland/chimney/internal/compiletime/ExprPromisesPlatform.scala @@ -68,10 +68,7 @@ private[compiletime] trait ExprPromisesPlatform extends ExprPromises { this: Def // Undoes the encoding of freshTermName so that generated value would not contain $1, $2, ... and weird // dot-replacement - this makes generated fresh names more readable as it prevents e.g. typename$macro$1$2$3 private def toFieldName[A](expr: Expr[A]): String = - if expr.asTerm.toString.contains("$u002E") then { - println(expr.asTerm.toString) - } - expr.asTerm.toString // .replaceAll("\\$\\d+", "").replace("$u002E", ".") + expr.asTerm.toString } protected object PrependDefinitionsTo extends PrependDefinitionsToModule {