File tree 1 file changed +3
-1
lines changed
src/reflect/scala/reflect/internal
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1110,6 +1110,7 @@ trait Types extends api.Types { self: SymbolTable =>
1110
1110
var lastM : :: [Symbol ] = null
1111
1111
var membertpe : Type = null
1112
1112
var membertpes : Array [Type ] = null
1113
+ var required = requiredFlags
1113
1114
var excluded = excludedFlags | DEFERRED
1114
1115
var continue = true
1115
1116
var self : Type = null
@@ -1142,7 +1143,7 @@ trait Types extends api.Types { self: SymbolTable =>
1142
1143
while (entry ne null ) {
1143
1144
val sym = entry.sym
1144
1145
val flags = sym.flags
1145
- if ((flags & requiredFlags ) == requiredFlags ) {
1146
+ if ((flags & required ) == required ) {
1146
1147
val excl = flags & excluded
1147
1148
if (excl == 0L &&
1148
1149
(// omit PRIVATE LOCALS unless selector class is contained in class owning the def.
@@ -1205,6 +1206,7 @@ trait Types extends api.Types { self: SymbolTable =>
1205
1206
bcs = if (name == nme.CONSTRUCTOR ) Nil else bcs.tail
1206
1207
} // while (!bcs.isEmpty)
1207
1208
excluded = excludedFlags
1209
+ required |= DEFERRED
1208
1210
} // while (continue)
1209
1211
Statistics .popTimer(typeOpsStack, start)
1210
1212
if (suspension ne null ) suspension foreach (_.suspended = false )
You can’t perform that action at this time.
0 commit comments