diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/ReflectionCompilerInterface.scala b/compiler/src/dotty/tools/dotc/tastyreflect/ReflectionCompilerInterface.scala index b2234be57979..035cfd228302 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/ReflectionCompilerInterface.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/ReflectionCompilerInterface.scala @@ -1935,6 +1935,7 @@ class ReflectionCompilerInterface(val rootContext: core.Contexts.Context) extend def Definitions_Array_update: Symbol = defn.Array_update.asTerm def Definitions_RepeatedParamClass: Symbol = defn.RepeatedParamClass + def Definitions_RepeatedAnnot: Symbol = defn.RepeatedAnnot def Definitions_OptionClass: Symbol = defn.OptionClass def Definitions_NoneModule: Symbol = defn.NoneModule diff --git a/library/src/scala/tasty/Reflection.scala b/library/src/scala/tasty/Reflection.scala index 44af277a5bf6..edfee77e4aa2 100644 --- a/library/src/scala/tasty/Reflection.scala +++ b/library/src/scala/tasty/Reflection.scala @@ -2650,6 +2650,9 @@ class Reflection(private[scala] val internal: CompilerInterface) { self => */ def RepeatedParamClass: Symbol = internal.Definitions_RepeatedParamClass + /** The class symbol of class `scala.annotation.internal.Repeated` */ + def RepeatedAnnot: Symbol = internal.Definitions_RepeatedAnnot + /** The class symbol of class `scala.Option`. */ def OptionClass: Symbol = internal.Definitions_OptionClass diff --git a/library/src/scala/tasty/reflect/CompilerInterface.scala b/library/src/scala/tasty/reflect/CompilerInterface.scala index 60c5d7887535..ad70193f8c17 100644 --- a/library/src/scala/tasty/reflect/CompilerInterface.scala +++ b/library/src/scala/tasty/reflect/CompilerInterface.scala @@ -1478,8 +1478,14 @@ trait CompilerInterface { def Definitions_Array_length: Symbol def Definitions_Array_update: Symbol + /** A dummy class symbol that is used to indicate repeated parameters + * compiled by the Scala compiler. + */ def Definitions_RepeatedParamClass: Symbol + /** The class symbol of class `scala.annotation.internal.Repeated` */ + def Definitions_RepeatedAnnot: Symbol + def Definitions_OptionClass: Symbol def Definitions_NoneModule: Symbol def Definitions_SomeModule: Symbol