aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-05-23 15:53:57 +0200
committerMartin Odersky <odersky@gmail.com>2016-05-23 15:53:57 +0200
commitc996e42224eedaf3b097fea0c6175eba7d3cbe63 (patch)
tree0c4a8f4ef9d0ac6396e86b89ba320b91dff5181c /src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
parentd894be65fa7997e4d854b8812ad23de2173c1f9e (diff)
downloaddotty-c996e42224eedaf3b097fea0c6175eba7d3cbe63.tar.gz
dotty-c996e42224eedaf3b097fea0c6175eba7d3cbe63.tar.bz2
dotty-c996e42224eedaf3b097fea0c6175eba7d3cbe63.zip
Fix typos in comments
Diffstat (limited to 'src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala')
-rw-r--r--src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala b/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
index e3e9129a2..91ac4ea3e 100644
--- a/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
+++ b/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
@@ -691,9 +691,9 @@ class TreeUnpickler(reader: TastyReader, tastyName: TastyName.Table) {
val companion = sym.scalacLinkedClass
// Is the companion defined in the same Tasty file as `sym`?
- // The only case top check here is if `sym` is a root. In this case
+ // The only case to check here is if `sym` is a root. In this case
// `companion` might have been entered by the environment but it might
- // been missing from the Tasty file. So we check explicitly for that.
+ // be missing from the Tasty file. So we check explicitly for that.
def isCodefined =
roots.contains(companion.denot) == seenRoots.contains(companion)
if (companion.exists && isCodefined) {