File tree 3 files changed +0
-10
lines changed
compiler/src/dotty/tools/dotc/tastyreflect 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
309
309
def Ref_term (tp : TermRef )(using ctx : Context ): Ref =
310
310
withDefaultPos(tpd.ref(tp).asInstanceOf [tpd.RefTree ])
311
311
312
- def Ref_desugarIdent (tree : Ident )(using ctx : Context ): Ref =
313
- tpd.desugarIdent(tree).asInstanceOf [tpd.RefTree ]
314
-
315
312
def Ref_apply (sym : Symbol )(using ctx : Context ): Ref = {
316
313
assert(sym.isTerm)
317
314
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 =>
677
677
def term (tp : TermRef )(using ctx : Context ): Ref =
678
678
internal.Ref_term (tp)
679
679
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
-
684
680
/** Create a reference tree from a symbol
685
681
*
686
682
* 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 {
322
322
/** A tree representing the same reference as the given type */
323
323
def Ref_term (tp : TermRef )(using ctx : Context ): Ref
324
324
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
-
328
325
def Ref_apply (sym : Symbol )(using ctx : Context ): Ref
329
326
330
327
/** Tree representing a reference to definition with a given name */
You can’t perform that action at this time.
0 commit comments