We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf7f02 commit 978fa33Copy full SHA for 978fa33
tests/patmat/i9489.scala
@@ -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