Skip to content

Commit cde98e6

Browse files
committed
Fix typos from scala#4926
1 parent 17e8921 commit cde98e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compiler/src/dotty/tools/backend/jvm/DottyBackendInterface.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma
265265
} else {
266266
// println(i"not an enum: ${t.symbol} / ${t.symbol.denot.owner} / ${t.symbol.denot.owner.isTerm} / ${t.symbol.denot.owner.flags}")
267267
assert(toDenot(t.symbol).name.is(DefaultGetterName),
268-
s"${toDenot(t.symbol).name.debugString}") // this should be default getter. do not emmit.
268+
s"${toDenot(t.symbol).name.debugString}") // this should be default getter. do not emit.
269269
}
270270
case t: SeqLiteral =>
271271
val arrAnnotV: AnnotationVisitor = av.visitArray(name)
@@ -626,7 +626,7 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma
626626

627627
def symbol: Symbol = a.tree.symbol
628628

629-
def args: List[Tree] = List.empty // those arguments to scala-defined annotations. they are never emmitted
629+
def args: List[Tree] = List.empty // those arguments to scala-defined annotations. they are never emitted
630630
}
631631

632632
def assocsFromApply(tree: Tree): List[(Name, Tree)] = {
@@ -986,7 +986,7 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma
986986
def summaryString: String = tp.showSummary
987987

988988
def params: List[Symbol] =
989-
Nil // backend uses this to emmit annotations on parameter lists of forwarders
989+
Nil // backend uses this to emit annotations on parameter lists of forwarders
990990
// to static methods of companion class
991991
// in Dotty this link does not exists: there is no way to get from method type
992992
// to inner symbols of DefDef

compiler/src/dotty/tools/dotc/core/tasty/TastyFormat.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ object TastyFormat {
274274

275275
final val OBJECTCLASS = 23 // The name of an object class (or: module class) `<name>$`.
276276

277-
final val SIGNED = 63 // A pair of a name and a signature, used to idenitify
277+
final val SIGNED = 63 // A pair of a name and a signature, used to identify
278278
// possibly overloaded methods.
279279
}
280280
object NameTags extends NameTags

0 commit comments

Comments
 (0)