Skip to content

Commit e6706d1

Browse files
remove unused code
1 parent a3cb6b0 commit e6706d1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/dotty/tools/dotc/core/Symbols.scala

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ trait Symbols { this: Context =>
4747

4848
// ---- Symbol creation methods ----------------------------------
4949

50-
/** Create a symbol from a function producing its denotation */
51-
def newSymbolDenoting[N <: Name](denotFn: Symbol => SymDenotation, coord: Coord = NoCoord): Symbol { type ThisName = N } = {
52-
val sym = newNakedSymbol[N](coord)
53-
sym.denot = denotFn(sym)
54-
sym
55-
}
56-
5750
/** Create a symbol from its fields (info may be lazy) */
5851
def newSymbol[N <: Name](
5952
owner: Symbol,

0 commit comments

Comments
 (0)