Skip to content

Commit f9afb8a

Browse files
committed
Make quoted.{Expr, Type} traits
1 parent 8b83989 commit f9afb8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/src/scala/quoted/Expr.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package quoted {
44

55
import scala.quoted.show.SyntaxHighlight
66

7-
sealed abstract class Expr[+T] {
7+
sealed trait Expr[+T] {
88

99
/** Evaluate the contents of this expression and return the result.
1010
*

library/src/scala/quoted/Type.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package quoted {
44
import scala.internal.quoted.TaggedType
55
import scala.quoted.show.SyntaxHighlight
66

7-
sealed abstract class Type[T <: AnyKind] {
7+
sealed trait Type[T <: AnyKind] {
88
type `$splice` = T
99

1010
/** Show a source code like representation of this type without syntax highlight */

0 commit comments

Comments
 (0)