aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/printing/PlainPrinter.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-03 17:40:13 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-03 17:40:13 +0100
commit2b4e7659237fe0e6eb5425ebe50ceab79af49816 (patch)
tree131f10e44f0904988ded6c1cb894246a31ed37df /src/dotty/tools/dotc/printing/PlainPrinter.scala
parent18cf5d280e3f63213fd6bddbe8e1ed5b5d40b595 (diff)
downloaddotty-2b4e7659237fe0e6eb5425ebe50ceab79af49816.tar.gz
dotty-2b4e7659237fe0e6eb5425ebe50ceab79af49816.tar.bz2
dotty-2b4e7659237fe0e6eb5425ebe50ceab79af49816.zip
Typos corrected.
More verbose assertions. Unnecessary semicolons removed.
Diffstat (limited to 'src/dotty/tools/dotc/printing/PlainPrinter.scala')
-rw-r--r--src/dotty/tools/dotc/printing/PlainPrinter.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/printing/PlainPrinter.scala b/src/dotty/tools/dotc/printing/PlainPrinter.scala
index 84936fbac..e5f85d11b 100644
--- a/src/dotty/tools/dotc/printing/PlainPrinter.scala
+++ b/src/dotty/tools/dotc/printing/PlainPrinter.scala
@@ -23,11 +23,11 @@ class PlainPrinter(_ctx: Context) extends Printer {
ctx.toTextRecursions -= 1
}
else {
- recursionLimitExceeeded()
+ recursionLimitExceeded()
"..."
}
- protected def recursionLimitExceeeded() = {
+ protected def recursionLimitExceeded() = {
ctx.warning("Exceeded recursion depth attempting to print type.")
(new Throwable).printStackTrace
}