Skip to content

Commit 733e253

Browse files
dwijnandsjrd
andauthored
Initialize with null not "uninitialized"
Co-authored-by: Sébastien Doeraene <[email protected]>
1 parent 32cac40 commit 733e253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/sbt/ExtractDependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ class DependencyRecorder {
577577
clazz
578578
}
579579

580-
private[dotc] var _responsibleForImports: Symbol | Null = uninitialized
580+
private[dotc] var _responsibleForImports: Symbol | Null = null
581581

582582
/** Top level import dependencies are registered as coming from a first top level
583583
* class/trait/object declared in the compilation unit. If none exists, issue a warning and return NoSymbol.

0 commit comments

Comments
 (0)