File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -726,7 +726,7 @@ trait TypedTreeInfo extends TreeInfo[Type] { self: Trees.Instance[Type] =>
726
726
case _ => tree
727
727
}
728
728
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 */
730
730
object simpleClosure :
731
731
def unapply (tree : Tree )(using Context ): Option [(DefDef , Closure )] = tree match
732
732
case Block ((meth : DefDef ) :: Nil , closure : Closure ) if meth.symbol == closure.meth.symbol =>
Original file line number Diff line number Diff line change @@ -505,7 +505,7 @@ object Nullables:
505
505
* that they are cbv, and we have to correct this assumption if the actual resolved
506
506
* method is cbn. If the call is non-overloaded, we do the right thing from the start.
507
507
* 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
509
509
* cbn identity.
510
510
*/
511
511
def postProcessByNameArgs (fn : TermRef , app : Tree )(using Context ): Tree =
You can’t perform that action at this time.
0 commit comments