Skip to content

Commit 1815894

Browse files
committed
add comment for ExprType
1 parent 01e1932 commit 1815894

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dotty/tools/dotc/core/Types.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,6 +2040,7 @@ object Types {
20402040
unique(new ImplicitMethodType(paramNames, paramTypes)(resultTypeExp))
20412041
}
20422042

2043+
/** A by-name parameter type of the form `=> T`, or the type of a method with no parameter list. */
20432044
abstract case class ExprType(override val resultType: Type)
20442045
extends CachedProxyType with TermType with MethodicType {
20452046
override def underlying(implicit ctx: Context): Type = resultType

0 commit comments

Comments
 (0)