Skip to content

Commit a1f3993

Browse files
committed
Fix null wildcard in SymbolLoaders
1 parent d53a9ce commit a1f3993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ abstract class SymbolLoader extends LazyType { self =>
337337
val sym = root.symbol
338338
def associatedFile = root.symbol.associatedFile match
339339
case file: AbstractFile => file
340-
case _ => NoAbstractFile
340+
case null => NoAbstractFile
341341
ctx.profiler.onCompletion(sym, associatedFile)(body)
342342
}
343343

0 commit comments

Comments
 (0)