diff --git a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala index 2509b0199a61..381829e8a798 100644 --- a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala +++ b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala @@ -127,7 +127,7 @@ trait ScalaSettings extends StandardScalaSettings with Warnings { _: MutableSett private val XsourceHelp = sm"""|-Xsource:3 is for migrating a codebase, -Xsource:3-cross is for cross-building. | - |-Xsource:3 isues migration warnings in category `cat=scala3-migration`, + |-Xsource:3 issues migration warnings in category `cat=scala3-migration`, | which by default are promoted to errors under the `-Wconf` configuration. | Examples of promoted warnings: | * Implicit definitions must have an explicit type diff --git a/src/reflect/scala/reflect/internal/TreeInfo.scala b/src/reflect/scala/reflect/internal/TreeInfo.scala index 6714e3a34e9b..29d6dc28b7d2 100644 --- a/src/reflect/scala/reflect/internal/TreeInfo.scala +++ b/src/reflect/scala/reflect/internal/TreeInfo.scala @@ -879,7 +879,7 @@ abstract class TreeInfo { /** Returns a wrapper that knows how to destructure and analyze applications. */ final def dissectApplied(tree: Tree) = new Applied(tree) - /** Equivalent ot disectApplied(tree).core, but more efficient */ + /** Equivalent to dissectApplied(tree).core, but more efficient */ @scala.annotation.tailrec final def dissectCore(tree: Tree): Tree = tree match { case TypeApply(fun, _) =>