Skip to content

Commit fd45847

Browse files
authoredAug 6, 2024
fix typo (scala#21324)
1 parent 976133a commit fd45847

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+47
-47
lines changed
 

‎compiler/src/dotty/tools/backend/jvm/ClassfileWriters.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class ClassfileWriters(frontendAccess: PostProcessorFrontendAccess) {
129129
if (file.isInstanceOf[JarArchive]) {
130130
val jarCompressionLevel = compilerSettings.jarCompressionLevel
131131
// Writing to non-empty JAR might be an undefined behaviour, e.g. in case if other files where
132-
// created using `AbstractFile.bufferedOutputStream`instead of JarWritter
132+
// created using `AbstractFile.bufferedOutputStream`instead of JarWriter
133133
val jarFile = file.underlyingSource.getOrElse{
134134
throw new IllegalStateException("No underlying source for jar")
135135
}

‎compiler/src/dotty/tools/dotc/CompilationUnit.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class CompilationUnit protected (val source: SourceFile, val info: CompilationUn
8787
*/
8888
val depRecorder: sbt.DependencyRecorder = sbt.DependencyRecorder()
8989

90-
/** Suspends the compilation unit by thowing a SuspendException
90+
/** Suspends the compilation unit by throwing a SuspendException
9191
* and recording the suspended compilation unit
9292
*/
9393
def suspend(hint: => String)(using Context): Nothing =

0 commit comments

Comments
 (0)