Skip to content

Commit fb5a68a

Browse files
Apply suggestions from code review
Co-authored-by: Fengyun Liu <[email protected]>
1 parent 6f0b6e9 commit fb5a68a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compiler/src/dotty/tools/dotc/transform/ReifyQuotes.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@ class ReifyQuotes extends MacroTransform {
177177
meth.appliedTo(pickledQuoteStrings, splicesList)
178178
}
179179

180-
def tagedType(sym: Symbol) = ref(defn.InternalQuotedTypeModule).select(sym.name.toTermName)
180+
def taggedType(sym: Symbol) = ref(defn.InternalQuotedTypeModule).select(sym.name.toTermName)
181181

182182
if (isType) {
183-
if (splices.isEmpty && body.symbol.isPrimitiveValueClass) tagedType(body.symbol)
183+
if (splices.isEmpty && body.symbol.isPrimitiveValueClass) taggedType(body.symbol)
184184
else pickleAsTasty()
185185
}
186186
else getLiteral(body) match {
@@ -443,4 +443,3 @@ object ReifyQuotes {
443443
override def toString: String = s"Embedded($trees, $map)"
444444
}
445445
}
446-

0 commit comments

Comments
 (0)