Skip to content

Commit 40c6e70

Browse files
committed
Fix typos
1 parent 63f7dba commit 40c6e70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/ast/TreeInfo.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ trait TypedTreeInfo extends TreeInfo[Type] { self: Trees.Instance[Type] =>
726726
case _ => tree
727727
}
728728

729-
/** An anonyous function and a closure node referring to it in a block, without any wrappigs */
729+
/** An anonymous function and a closure node referring to it in a block, without any wrappings */
730730
object simpleClosure:
731731
def unapply(tree: Tree)(using Context): Option[(DefDef, Closure)] = tree match
732732
case Block((meth : DefDef) :: Nil, closure: Closure) if meth.symbol == closure.meth.symbol =>

compiler/src/dotty/tools/dotc/typer/Nullables.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ object Nullables:
505505
* that they are cbv, and we have to correct this assumption if the actual resolved
506506
* method is cbn. If the call is non-overloaded, we do the right thing from the start.
507507
* Inserting a byName call just makes clear that the argumnent is cbn. There is no
508-
* special treatemnt in the compiler associated with that method; it is just the
508+
* special treatment in the compiler associated with that method; it is just the
509509
* cbn identity.
510510
*/
511511
def postProcessByNameArgs(fn: TermRef, app: Tree)(using Context): Tree =

0 commit comments

Comments
 (0)