Skip to content

Commit c996e42

Browse files
committed
Fix typos in comments
1 parent d894be6 commit c996e42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,9 +691,9 @@ class TreeUnpickler(reader: TastyReader, tastyName: TastyName.Table) {
691691
val companion = sym.scalacLinkedClass
692692

693693
// Is the companion defined in the same Tasty file as `sym`?
694-
// The only case top check here is if `sym` is a root. In this case
694+
// The only case to check here is if `sym` is a root. In this case
695695
// `companion` might have been entered by the environment but it might
696-
// been missing from the Tasty file. So we check explicitly for that.
696+
// be missing from the Tasty file. So we check explicitly for that.
697697
def isCodefined =
698698
roots.contains(companion.denot) == seenRoots.contains(companion)
699699
if (companion.exists && isCodefined) {

0 commit comments

Comments
 (0)