Skip to content

Commit 8281500

Browse files
liufengyunEnzeXing
andauthored
Fix typo in doc
Co-authored-by: EnzeXing <[email protected]>
1 parent a688402 commit 8281500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/init/Objects.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ object Objects:
727727
*
728728
* @param lhs The value of the object to be mutated.
729729
* @param field The symbol of the target field.
730-
* @param lhs The value to be assigned.
730+
* @param rhs The value to be assigned.
731731
* @param rhsTyp The type of the right-hand side.
732732
*/
733733
def assign(lhs: Value, field: Symbol, rhs: Value, rhsTyp: Type): Contextual[Value] = log("Assign" + field.show + " of " + lhs.show + ", rhs = " + rhs.show, printer, (_: Value).show) {

0 commit comments

Comments
 (0)