def m(using Quotes) =
import quotes.reflect.*
val e = '{
class Cl extends Object
type T = Cl
new Cl().asInstanceOf[T]
}
println(e.asTerm.show(using Printer.TreeAnsiCode))
e
I would like to write the same code but instead of using quotes use reflection API. Like Symbol.newClass … etc. Is this possible at the moment? Could not find how to do that.