We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f806bb commit 1629d5bCopy full SHA for 1629d5b
compiler/src/dotty/tools/dotc/core/Symbols.scala
@@ -639,10 +639,7 @@ object Symbols {
639
* For already loaded trees, we maintain the referenced ids in an attachment.
640
*/
641
def treeContaining(id: String)(implicit ctx: Context): Tree = {
642
- denot.infoOrCompleter match {
643
- case _: NoCompleter =>
644
- case _ => denot.ensureCompleted()
645
- }
+ denot.ensureCompleted()
646
myTree match {
647
case fn: TreeProvider =>
648
if (id.isEmpty || fn.mightContain(id)) {
0 commit comments