Skip to content

Commit 833509e

Browse files
Update library/src/scala/tasty/Reflection.scala
Co-authored-by: Nicolas Stucki <[email protected]>
1 parent 18af4c7 commit 833509e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/tasty/Reflection.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ trait Reflection extends reflect.Types { reflectSelf: CompilerInterface =>
13531353
def of[T <: AnyKind](using qtype: scala.quoted.Type[T]): Type =
13541354
qtype.asInstanceOf[scala.internal.quoted.Type[TypeTree]].typeTree.tpe
13551355

1356-
def ofErasedClass(clazz: Class[_]): Type =
1356+
def typeConstructorOf(clazz: Class[_]): Type =
13571357
reflectSelf.Type_ofErasedClass(clazz)
13581358
end Type
13591359

0 commit comments

Comments
 (0)