File tree Expand file tree Collapse file tree 3 files changed +0
-10
lines changed
compiler/src/dotty/tools/dotc/tastyreflect Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -309,9 +309,6 @@ class ReflectionCompilerInterface(val rootContext: core.Contexts.Context) extend
309309 def Ref_term (tp : TermRef )(using ctx : Context ): Ref =
310310 withDefaultPos(tpd.ref(tp).asInstanceOf [tpd.RefTree ])
311311
312- def Ref_desugarIdent (tree : Ident )(using ctx : Context ): Ref =
313- tpd.desugarIdent(tree).asInstanceOf [tpd.RefTree ]
314-
315312 def Ref_apply (sym : Symbol )(using ctx : Context ): Ref = {
316313 assert(sym.isTerm)
317314 withDefaultPos(tpd.ref(sym).asInstanceOf [tpd.RefTree ])
Original file line number Diff line number Diff line change @@ -677,10 +677,6 @@ class Reflection(private[scala] val internal: CompilerInterface) { self =>
677677 def term (tp : TermRef )(using ctx : Context ): Ref =
678678 internal.Ref_term (tp)
679679
680- /** Desugar identifier into a select node. Return the tree itself if not possible */
681- def desugarIdent (tree : Ident )(using ctx : Context ): Ref =
682- internal.Ref_desugarIdent (tree)
683-
684680 /** Create a reference tree from a symbol
685681 *
686682 * If `sym` refers to a class member `foo` in class `C`,
Original file line number Diff line number Diff line change @@ -322,9 +322,6 @@ trait CompilerInterface {
322322 /** A tree representing the same reference as the given type */
323323 def Ref_term (tp : TermRef )(using ctx : Context ): Ref
324324
325- /** Desugar identifier into a select node. Return the tree itself if not possible */
326- def Ref_desugarIdent (tree : Ident )(using ctx : Context ): Ref
327-
328325 def Ref_apply (sym : Symbol )(using ctx : Context ): Ref
329326
330327 /** Tree representing a reference to definition with a given name */
You can’t perform that action at this time.
0 commit comments