Skip to content

Commit

Permalink
Fix null wildcard in SymbolLoaders
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisL2 committed Nov 4, 2024
1 parent 17cd9aa commit 0800e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ abstract class SymbolLoader extends LazyType { self =>
val sym = root.symbol
def associatedFile = root.symbol.associatedFile match
case file: AbstractFile => file
case _ => NoAbstractFile
case null => NoAbstractFile
ctx.profiler.onCompletion(sym, associatedFile)(body)
}

Expand Down

0 comments on commit 0800e0f

Please sign in to comment.