Skip to content

Commit aee734d

Browse files
committed
Fix typo: 👻strap -> bootstrap
1 parent 8567ffc commit aee734d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

‎compiler/src/dotty/tools/backend/sjs/JSDefinitions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ final class JSDefinitions()(using Context) {
255255
def isJSThisFunctionClass(cls: Symbol): Boolean =
256256
isScalaJSVarArityClass(cls, "ThisFunction")
257257

258-
/** Definitions related to the treatment of JUnit boostrappers. */
258+
/** Definitions related to the treatment of JUnit bootstrappers. */
259259
object junit {
260260
@threadUnsafe lazy val TestAnnotType: TypeRef = requiredClassRef("org.junit.Test")
261261
def TestAnnotClass(using Context): ClassSymbol = TestAnnotType.symbol.asClass

‎compiler/src/dotty/tools/dotc/core/Symbols.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,8 @@ object Symbols {
470470
flags: FlagSet = sym.flags,
471471
info: Type = sym.info,
472472
privateWithin: Symbol = sym.privateWithin,
473-
coord: Coord = NoCoord, // Can be `= owner.coord` once we boostrap
474-
associatedFile: AbstractFile = null // Can be `= owner.associatedFile` once we boostrap
473+
coord: Coord = NoCoord, // Can be `= owner.coord` once we bootstrap
474+
associatedFile: AbstractFile = null // Can be `= owner.associatedFile` once we bootstrap
475475
): Symbol = {
476476
val coord1 = if (coord == NoCoord) owner.coord else coord
477477
val associatedFile1 = if (associatedFile == null) owner.associatedFile else associatedFile

‎compiler/src/dotty/tools/dotc/transform/sjs/JUnitBootstrappers.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ import dotty.tools.backend.sjs.JSDefinitions.jsdefn
9898
* framework with official asynchronous support instead.
9999
*
100100
* Because `Booststrapper` is annotated with `@EnableReflectiveInstantiation`,
101-
* the run-time implementation of JUnit for Scala.js can load the boostrapper
101+
* the run-time implementation of JUnit for Scala.js can load the bootstrapper
102102
* module using `scala.scalajs.reflect.Reflect`, and then use the methods of
103103
* Bootstrapper, which are implemented in the bootstrapper object, to perform
104104
* test discovery and invocation.
@@ -145,7 +145,7 @@ class JUnitBootstrappers extends MiniPhase {
145145
private def genBootstrapper(testClass: ClassSymbol)(using Context): TypeDef = {
146146
val junitdefn = jsdefn.junit
147147

148-
/* The name of the boostrapper module. It is derived from the test class name by
148+
/* The name of the bootstrapper module. It is derived from the test class name by
149149
* appending a specific suffix string mandated "by spec". It will indeed also be
150150
* computed as such at run-time by the Scala.js JUnit Runtime support. Therefore,
151151
* it must *not* be a dotc semantic name.

‎project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ object Build {
247247
excludeFromIDE := true
248248
)
249249

250-
// Settings used when compiling dotty (both non-boostrapped and bootstrapped)
250+
// Settings used when compiling dotty (both non-bootstrapped and bootstrapped)
251251
lazy val commonDottySettings = commonSettings ++ Seq(
252252
// Manually set the standard library to use
253253
autoScalaLibrary := false

0 commit comments

Comments
 (0)