diff options
author | Martin Odersky <odersky@gmail.com> | 2016-11-20 15:50:26 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-11-20 15:50:26 +0100 |
commit | 5c7617b006fe4446a105b3db4916956a92826304 (patch) | |
tree | 2052cfc69048bf977aad13257b9a3fc7aa8ad521 /src/dotty/tools/dotc | |
parent | 5637720ea8769faa86b2cfedbfe9fe705e3f5b28 (diff) | |
download | dotty-5c7617b006fe4446a105b3db4916956a92826304.tar.gz dotty-5c7617b006fe4446a105b3db4916956a92826304.tar.bz2 dotty-5c7617b006fe4446a105b3db4916956a92826304.zip |
Fix typos
Diffstat (limited to 'src/dotty/tools/dotc')
-rw-r--r-- | src/dotty/tools/dotc/core/tasty/TastyPickler.scala | 2 | ||||
-rw-r--r-- | src/dotty/tools/dotc/printing/RefinedPrinter.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/tasty/TastyPickler.scala b/src/dotty/tools/dotc/core/tasty/TastyPickler.scala index c750a7bb3..c844d522e 100644 --- a/src/dotty/tools/dotc/core/tasty/TastyPickler.scala +++ b/src/dotty/tools/dotc/core/tasty/TastyPickler.scala @@ -55,7 +55,7 @@ class TastyPickler { } /** The address in the TASTY file of a given tree, or None if unknown. - * Note that trees are looked up by for reference equality, + * Note that trees are looked up by reference equality, * so one can reliably use this function only directly after `pickler`. */ var addrOfTree: tpd.Tree => Option[Addr] = (_ => None) diff --git a/src/dotty/tools/dotc/printing/RefinedPrinter.scala b/src/dotty/tools/dotc/printing/RefinedPrinter.scala index 279dda9a1..29e1d4869 100644 --- a/src/dotty/tools/dotc/printing/RefinedPrinter.scala +++ b/src/dotty/tools/dotc/printing/RefinedPrinter.scala @@ -149,7 +149,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) { return toText(elemtp) ~ "[]" case tp: AnnotatedType if homogenizedView => // Positions of annotations in types are not serialized - // (they don;t need to because we keep the original type tree with + // (they don't need to because we keep the original type tree with // the original annotation anyway. Therefore, there will always be // one version of the annotation tree that has the correct positions). withoutPos(super.toText(tp)) |