Skip to content

Commit 978fa33

Browse files
committed
Add test
1 parent dbf7f02 commit 978fa33

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/patmat/i9489.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import scala.quoted._
2+
3+
def summonTypedType[T : Type](using QuoteContext): String = '[T] match {
4+
case '[Boolean] => "Boolean"
5+
case '[Byte] => "Byte"
6+
case _ => "Other"
7+
}

0 commit comments

Comments
 (0)