Skip to content

Commit b3d3834

Browse files
committed
Rename ByteLiftable to ByteIsLiftable
1 parent c8fcd1e commit b3d3834

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compiler/src/dotty/tools/dotc/core/Definitions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ class Definitions {
658658
def QuotedLiftableModuleClass(implicit ctx: Context) = QuotedLiftableModule.asClass
659659

660660
def QuotedLiftable_BooleanIsLiftable = QuotedLiftableModule.requiredMethodRef("BooleanIsLiftable")
661-
def QuotedLiftable_ByteLiftable = QuotedLiftableModule.requiredMethodRef("ByteLiftable")
661+
def QuotedLiftable_ByteIsLiftable = QuotedLiftableModule.requiredMethodRef("ByteIsLiftable")
662662
def QuotedLiftable_CharIsLiftable = QuotedLiftableModule.requiredMethodRef("CharIsLiftable")
663663
def QuotedLiftable_ShortIsLiftable = QuotedLiftableModule.requiredMethodRef("ShortIsLiftable")
664664
def QuotedLiftable_IntIsLiftable = QuotedLiftableModule.requiredMethodRef("IntIsLiftable")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ class ReifyQuotes extends MacroTransformWithImplicits with InfoTransformer {
638638

639639
val lifter =
640640
if (tpSym eq defn.BooleanClass) defn.QuotedLiftable_BooleanIsLiftable
641-
else if (tpSym eq defn.ByteClass) defn.QuotedLiftable_ByteLiftable
641+
else if (tpSym eq defn.ByteClass) defn.QuotedLiftable_ByteIsLiftable
642642
else if (tpSym eq defn.CharClass) defn.QuotedLiftable_CharIsLiftable
643643
else if (tpSym eq defn.ShortClass) defn.QuotedLiftable_ShortIsLiftable
644644
else if (tpSym eq defn.IntClass) defn.QuotedLiftable_IntIsLiftable

library/src/scala/quoted/Liftable.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ abstract class Liftable[T] {
1616
*/
1717
object Liftable {
1818
implicit def BooleanIsLiftable: Liftable[Boolean] = (x: Boolean) => liftedExpr(x)
19-
implicit def ByteLiftable: Liftable[Byte] = (x: Byte) => liftedExpr(x)
19+
implicit def ByteIsLiftable: Liftable[Byte] = (x: Byte) => liftedExpr(x)
2020
implicit def CharIsLiftable: Liftable[Char] = (x: Char) => liftedExpr(x)
2121
implicit def ShortIsLiftable: Liftable[Short] = (x: Short) => liftedExpr(x)
2222
implicit def IntIsLiftable: Liftable[Int] = (x: Int) => liftedExpr(x)

0 commit comments

Comments
 (0)