aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/ast/Trees.scala
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2015-05-14 11:48:52 +1000
committerJason Zaugg <jzaugg@gmail.com>2015-05-14 11:56:45 +1000
commit448953056d695c5137b079bb66fc5c6f6cdb9e8a (patch)
treeab7a9c3b1eea2d4c96c1cc0228d54592c6a1de22 /src/dotty/tools/dotc/ast/Trees.scala
parent275b2c37dfbba3fa026c3821742c81b1d16e8db2 (diff)
downloaddotty-448953056d695c5137b079bb66fc5c6f6cdb9e8a.tar.gz
dotty-448953056d695c5137b079bb66fc5c6f6cdb9e8a.tar.bz2
dotty-448953056d695c5137b079bb66fc5c6f6cdb9e8a.zip
Correct a large number of typos.
I scanned the main sources with IntellIJ's spell checker and corrected what showed up.
Diffstat (limited to 'src/dotty/tools/dotc/ast/Trees.scala')
-rw-r--r--src/dotty/tools/dotc/ast/Trees.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/ast/Trees.scala b/src/dotty/tools/dotc/ast/Trees.scala
index 5358ad0c4..fcb9df7fb 100644
--- a/src/dotty/tools/dotc/ast/Trees.scala
+++ b/src/dotty/tools/dotc/ast/Trees.scala
@@ -32,7 +32,7 @@ object Trees {
* @param flags The set flags
* @param privateWithin If a private or protected has is followed by a
* qualifier [q], the name q, "" as a typename otherwise.
- * @param annotations The annotations preceding the modifers
+ * @param annotations The annotations preceding the modifiers
*/
case class Modifiers[-T >: Untyped] (
flags: FlagSet = EmptyFlags,
@@ -215,7 +215,7 @@ object Trees {
s
}
- /** If this is a thicket, gerform `op` on each of its trees
+ /** If this is a thicket, perform `op` on each of its trees
* otherwise, perform `op` ion tree itself.
*/
def foreachInThicket(op: Tree[T] => Unit): Unit = op(this)
@@ -361,7 +361,7 @@ object Trees {
case class This[-T >: Untyped] private[ast] (qual: TypeName)
extends DenotingTree[T] with TermTree[T] {
type ThisTree[-T >: Untyped] = This[T]
- // Denotation of a This tree is always the udnerlying class; needs correction for modules.
+ // Denotation of a This tree is always the underlying class; needs correction for modules.
override def denot(implicit ctx: Context): Denotation = {
tpe match {
case tpe @ TermRef(pre, _) if tpe.symbol is Module =>