Skip to content

Commit f7f61c0

Browse files
committed
Update documentation
1 parent 43c6ba7 commit f7f61c0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler/src/dotty/tools/dotc/transform/BetaReduce.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ import scala.collection.mutable.ListBuffer
1313

1414
/** Rewrite an application
1515
*
16-
* (((x1, ..., xn) => b): T)(y1, ..., yn)
16+
* (([X1, ..., Xm] => (x1, ..., xn) => b): T)[T1, ..., Tm](y1, ..., yn)
1717
*
1818
* where
1919
*
2020
* - all yi are pure references without a prefix
2121
* - the closure can also be contextual or erased, but cannot be a SAM type
22-
* _ the type ascription ...: T is optional
22+
* - the type parameters Xi and type arguments Ti are optional
23+
* - the type ascription ...: T is optional
2324
*
2425
* to
2526
*

0 commit comments

Comments
 (0)