Skip to content

Commit fa430f9

Browse files
committed
Add String to Liftable expressions and abstract over all primitives
1 parent 801b383 commit fa430f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/quoted/Expr.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package scala.quoted
22

33
import scala.runtime.quoted.Runner
44

5-
abstract class Expr[T] extends Quoted {
5+
trait Expr[T] extends Quoted {
66
final def unary_~ : T = throw new Error("~ should have been compiled away")
77
final def run(implicit runner: Runner[T]): T = runner.run(this)
88
final def show(implicit runner: Runner[T]): String = runner.show(this)

0 commit comments

Comments
 (0)