@@ -732,7 +732,7 @@ trait Types
732732 *
733733 * `SubstThisAndSymMap` performs a breadth-first map over this type, which meant that
734734 * 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`.
736736 */
737737 def substThisAndSym (from : Symbol , to : Type , symsFrom : List [Symbol ], symsTo : List [Symbol ]): Type =
738738 if (symsFrom eq symsTo) substThis(from, to)
@@ -756,7 +756,7 @@ trait Types
756756 /** Apply `f` to each part of this type */
757757 def foreach (f : Type => Unit ) { new ForEachTypeTraverser (f).traverse(this ) }
758758
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 */
760760 def collect [T ](pf : PartialFunction [Type , T ]): List [T ] = new CollectTypeCollector (pf).collect(this )
761761
762762 /** Apply `f` to each part of this type; children get mapped before their parents */
@@ -2045,7 +2045,7 @@ trait Types
20452045 /** SI-3731, SI-8177: when prefix is changed to `newPre`, maintain consistency of prefix and sym
20462046 * (where the symbol refers to a declaration "embedded" in the prefix).
20472047 *
2048- * @returns newSym so that `newPre` binds `sym.name` to `newSym`,
2048+ * @return newSym so that `newPre` binds `sym.name` to `newSym`,
20492049 * to remain consistent with `pre` previously binding `sym.name` to `sym`.
20502050 *
20512051 * `newSym` and `sym` are conceptually the same symbols, but some change to our `prefix`
0 commit comments