Skip to content

Commit 43c46e3

Browse files
committed
wip
1 parent 8367c37 commit 43c46e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/src/dotty/tools/dotc/core/quoted/PickledQuotes.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ object PickledQuotes {
101101
}
102102
}
103103
val evaluatedExpansion = evaluateHoles.transform(expnasion1)(inlineContext(call))
104-
quotePickling.println(i"**** evaluated quote ${evaluatedExpansion.show}")
104+
quotePickling.println(i"**** evaluated quote\n${evaluatedExpansion.show}")
105105
cpy.Inlined(unpickled)(call, Nil, evaluatedExpansion)
106106
}
107107

@@ -117,7 +117,7 @@ object PickledQuotes {
117117
super.transform(tree).withType(f(tree.tpe))
118118
}.transform(expnasion1)
119119
case None => expnasion1
120-
quotePickling.println(i"**** evaluated quote ${evaluatedExpansion.show}")
120+
quotePickling.println(i"**** evaluated quote\n${evaluatedExpansion.show}")
121121
evaluatedExpansion
122122
}
123123

@@ -154,7 +154,7 @@ object PickledQuotes {
154154

155155
/** Pickle tree into it's TASTY bytes s*/
156156
private def pickle(tree: Tree)(implicit ctx: Context): Array[Byte] = {
157-
quotePickling.println(i"**** pickling quote of \n${tree.show}")
157+
quotePickling.println(i"**** pickling quote of\n${tree.show}")
158158
val pickler = new TastyPickler(defn.RootClass)
159159
val treePkl = pickler.treePkl
160160
treePkl.pickle(tree :: Nil)
@@ -178,7 +178,7 @@ object PickledQuotes {
178178
unpickler.enter(Set.empty)
179179

180180
val tree = unpickler.tree
181-
quotePickling.println(i"**** unpickle quote ${tree.show}")
181+
quotePickling.println(i"**** unpickle quote\n${tree.show}")
182182
tree
183183
}
184184

0 commit comments

Comments
 (0)