aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Run.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/Run.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/Run.scala')
-rw-r--r--src/dotty/tools/dotc/Run.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dotty/tools/dotc/Run.scala b/src/dotty/tools/dotc/Run.scala
index 151288d23..401608a73 100644
--- a/src/dotty/tools/dotc/Run.scala
+++ b/src/dotty/tools/dotc/Run.scala
@@ -37,10 +37,10 @@ class Run(comp: Compiler)(implicit ctx: Context) {
throw ex
}
- /** TODO: There's a fundamental design problem here: We assmble phases using `squash`
+ /** TODO: There's a fundamental design problem here: We assemble phases using `squash`
* when we first build the compiler. But we modify them with -Yskip, -Ystop
- * on each run. That modification needs to either trasnform the tree structure,
- * or we need to assmeble phases on each run, and take -Yskip, -Ystop into
+ * on each run. That modification needs to either transform the tree structure,
+ * or we need to assemble phases on each run, and take -Yskip, -Ystop into
* account. I think the latter would be preferable.
*/
def compileSources(sources: List[SourceFile]) =
@@ -67,9 +67,9 @@ class Run(comp: Compiler)(implicit ctx: Context) {
private def printTree(ctx: Context) = {
val unit = ctx.compilationUnit
val prevPhase = ctx.phase.prev // can be a mini-phase
- val squahsedPhase = ctx.squashed(prevPhase)
+ val squashedPhase = ctx.squashed(prevPhase)
- println(s"result of $unit after ${squahsedPhase}:")
+ println(s"result of $unit after ${squashedPhase}:")
println(unit.tpdTree.show(ctx))
}