Skip to content

Commit

Permalink
Fix typo in the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Jun 15, 2022
1 parent 90cfa03 commit ffc94ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/backend/jvm/CoreBTypes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ abstract class CoreBTypesFromSymbols[I <: DottyBackendInterface] extends CoreBTy
* srNothingRef and srNullRef exist at run-time only. They are the bytecode-level manifestation (in
* method signatures only) of what shows up as NothingClass (scala.Nothing) resp. NullClass (scala.Null) in Scala ASTs.
*
* Therefore, when srNothingRef or srNullRef are to be emitted, a mapping is jliSerializedLambdaRefeeded: the internal
* Therefore, when srNothingRef or srNullRef are to be emitted, a mapping is needed: the internal
* names of NothingClass and NullClass can't be emitted as-is.
* TODO @lry Once there's a 2.11.3 starr, use the commented argument list. The current starr crashes on the type literal `scala.runtime.Nothing$`
*/
Expand Down
6 changes: 3 additions & 3 deletions compiler/src/dotty/tools/backend/jvm/PostProcessor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ class PostProcessor(val frontendAccess: PostProcessorFrontendAccess, val bTypes:
val clsFile = classfileWriter.writeClass(internalName, bytes, sourceFile)
if clsFile != null then clazz.onFileCreated(clsFile)

clazz.tastyBinGen.foreach{ binGen =>
classfileWriter.writeTasty(internalName, binGen(), sourceFile)
}
clazz.tastyBinGen.foreach{ genTastyBinary =>
classfileWriter.writeTasty(internalName, genTastyBinary(), sourceFile)
}
}

private def warnCaseInsensitiveOverwrite(clazz: GeneratedClass) = {
Expand Down

0 comments on commit ffc94ba

Please sign in to comment.