Skip to content

Commit 8931ac1

Browse files
committed
make debugging output cleaner
1 parent 979e441 commit 8931ac1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/scala/singleton/ops/impl/GeneralMacros.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,10 +1387,12 @@ trait GeneralMacros {
13871387

13881388
final class MaterializeOpAuxGen(opTpe: Type) {
13891389
def usingFuncName : Tree = {
1390-
println(s"usingFuncName: opTpe= $opTpe")
13911390
val funcType = opTpe.typeArgs.head.typeSymbol.asType
13921391
val opResult = TypeCalc(opTpe)
13931392

1393+
println(s"usingFuncName: opTpe= $opTpe")
1394+
println(s" funcType= $funcType")
1395+
println(s" opResult= $opResult")
13941396
val genTree = (funcType, opResult) match {
13951397
case (funcTypes.ToNat, CalcLit.Int(t)) =>
13961398
if (t < 0) abort(s"Nat cannot be a negative literal. Found: $t")

0 commit comments

Comments
 (0)