From 448953056d695c5137b079bb66fc5c6f6cdb9e8a Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Thu, 14 May 2015 11:48:52 +1000 Subject: Correct a large number of typos. I scanned the main sources with IntellIJ's spell checker and corrected what showed up. --- src/dotty/tools/dotc/Run.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/dotty/tools/dotc/Run.scala') 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)) } -- cgit v1.2.3