Skip to content

Commit 5c7617b

Browse files
committed
Fix typos
1 parent 5637720 commit 5c7617b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class TastyPickler {
5555
}
5656

5757
/** The address in the TASTY file of a given tree, or None if unknown.
58-
* Note that trees are looked up by for reference equality,
58+
* Note that trees are looked up by reference equality,
5959
* so one can reliably use this function only directly after `pickler`.
6060
*/
6161
var addrOfTree: tpd.Tree => Option[Addr] = (_ => None)

src/dotty/tools/dotc/printing/RefinedPrinter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
149149
return toText(elemtp) ~ "[]"
150150
case tp: AnnotatedType if homogenizedView =>
151151
// Positions of annotations in types are not serialized
152-
// (they don;t need to because we keep the original type tree with
152+
// (they don't need to because we keep the original type tree with
153153
// the original annotation anyway. Therefore, there will always be
154154
// one version of the annotation tree that has the correct positions).
155155
withoutPos(super.toText(tp))

0 commit comments

Comments
 (0)