@@ -732,7 +732,7 @@ trait Types
732
732
*
733
733
* `SubstThisAndSymMap` performs a breadth-first map over this type, which meant that
734
734
* symbol substitution occurred before `ThisType` substitution. Consequently, in substitution
735
- * of a `SingleType(ThisType(` from` ), sym), symbols were rebound to `from` rather than `to`.
735
+ * of a `SingleType(ThisType(from), sym)` , symbols were rebound to `from` rather than `to`.
736
736
*/
737
737
def substThisAndSym (from : Symbol , to : Type , symsFrom : List [Symbol ], symsTo : List [Symbol ]): Type =
738
738
if (symsFrom eq symsTo) substThis(from, to)
@@ -756,7 +756,7 @@ trait Types
756
756
/** Apply `f` to each part of this type */
757
757
def foreach (f : Type => Unit ) { new ForEachTypeTraverser (f).traverse(this ) }
758
758
759
- /** Apply `pf' to each part of this type on which the function is defined */
759
+ /** Apply `pf` to each part of this type on which the function is defined */
760
760
def collect [T ](pf : PartialFunction [Type , T ]): List [T ] = new CollectTypeCollector (pf).collect(this )
761
761
762
762
/** Apply `f` to each part of this type; children get mapped before their parents */
@@ -2045,7 +2045,7 @@ trait Types
2045
2045
/** SI-3731, SI-8177: when prefix is changed to `newPre`, maintain consistency of prefix and sym
2046
2046
* (where the symbol refers to a declaration "embedded" in the prefix).
2047
2047
*
2048
- * @returns newSym so that `newPre` binds `sym.name` to `newSym`,
2048
+ * @return newSym so that `newPre` binds `sym.name` to `newSym`,
2049
2049
* to remain consistent with `pre` previously binding `sym.name` to `sym`.
2050
2050
*
2051
2051
* `newSym` and `sym` are conceptually the same symbols, but some change to our `prefix`
0 commit comments