File tree 2 files changed +1
-7
lines changed
src/dotty/tools/dotc/core
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,6 @@ trait Symbols { this: Context =>
47
47
48
48
// ---- Symbol creation methods ----------------------------------
49
49
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
-
57
50
/** Create a symbol from its fields (info may be lazy) */
58
51
def newSymbol [N <: Name ](
59
52
owner : Symbol ,
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ class tests extends CompilerTest {
93
93
@ Test def pos_packageObj = compileFile(posDir, " i0239" , twice)
94
94
@ Test def pos_anonClassSubtyping = compileFile(posDir, " anonClassSubtyping" , twice)
95
95
@ Test def pos_extmethods = compileFile(posDir, " extmethods" , twice)
96
+ @ Test def pos_companions = compileFile(posDir, " companions" , twice)
96
97
97
98
@ Test def pos_all = compileFiles(posDir) // twice omitted to make tests run faster
98
99
You can’t perform that action at this time.
0 commit comments