diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-05-14 11:48:52 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-05-14 11:56:45 +1000 |
commit | 448953056d695c5137b079bb66fc5c6f6cdb9e8a (patch) | |
tree | ab7a9c3b1eea2d4c96c1cc0228d54592c6a1de22 /src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala | |
parent | 275b2c37dfbba3fa026c3821742c81b1d16e8db2 (diff) | |
download | dotty-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/core/unpickleScala2/Scala2Unpickler.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala b/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala index 56c1d90df..b4549a8d8 100644 --- a/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala +++ b/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala @@ -181,14 +181,14 @@ class Scala2Unpickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClas protected def errorBadSignature(msg: String, original: Option[RuntimeException] = None)(implicit ctx: Context) = { val ex = new BadSignature( sm"""error reading Scala signature of $classRoot from $source: - |error occured at position $readIndex: $msg""") + |error occurred at position $readIndex: $msg""") /*if (debug)*/ original.getOrElse(ex).printStackTrace() // !!! DEBUG throw ex } protected def handleRuntimeException(ex: RuntimeException)(implicit ctx: Context) = ex match { case ex: BadSignature => throw ex - case _ => errorBadSignature(s"a runtime exception occured: $ex", Some(ex)) + case _ => errorBadSignature(s"a runtime exception occurred: $ex", Some(ex)) } private var postReadOp: Context => Unit = null @@ -884,7 +884,7 @@ class Scala2Unpickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClas deferredAnnot(end) } - /** A deferred annotation that can be comleted by reading + /** A deferred annotation that can be completed by reading * the bytes between `readIndex` and `end`. */ protected def deferredAnnot(end: Int)(implicit ctx: Context): Annotation = { |