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