Skip to content

Commit 709aba8

Browse files
authored
Fix typo in comment
1 parent a66eaf3 commit 709aba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2467,7 +2467,7 @@ class Typer extends Namer
24672467
/** Translate infix operation expression `l op r` to
24682468
*
24692469
* l.op(r) if `op` is left-associative
2470-
* { val x = l; r.op(l) } if `op` is right-associative call-by-value and `l` is impure
2470+
* { val x = l; r.op(x) } if `op` is right-associative call-by-value and `l` is impure
24712471
* r.op(l) if `op` is right-associative call-by-name or `l` is pure
24722472
*
24732473
* Translate infix type `l op r` to `op[l, r]`

0 commit comments

Comments
 (0)