aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Types.scala
diff options
context:
space:
mode:
authorOndrej Lhotak <olhotak@uwaterloo.ca>2015-01-14 17:38:47 +0100
committerOndrej Lhotak <olhotak@uwaterloo.ca>2015-01-14 20:15:39 +0100
commit1815894b8569ca2b9fad4b4e2c23125946b8df10 (patch)
treecd05356f123d96c04dc48f497e555a5098b6cc65 /src/dotty/tools/dotc/core/Types.scala
parent01e19323ee602136b47800c5c4b4105299e573b2 (diff)
downloaddotty-1815894b8569ca2b9fad4b4e2c23125946b8df10.tar.gz
dotty-1815894b8569ca2b9fad4b4e2c23125946b8df10.tar.bz2
dotty-1815894b8569ca2b9fad4b4e2c23125946b8df10.zip
add comment for ExprType
Diffstat (limited to 'src/dotty/tools/dotc/core/Types.scala')
-rw-r--r--src/dotty/tools/dotc/core/Types.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala
index 822c80b6b..4a3aef2c9 100644
--- a/src/dotty/tools/dotc/core/Types.scala
+++ b/src/dotty/tools/dotc/core/Types.scala
@@ -2040,6 +2040,7 @@ object Types {
unique(new ImplicitMethodType(paramNames, paramTypes)(resultTypeExp))
}
+ /** A by-name parameter type of the form `=> T`, or the type of a method with no parameter list. */
abstract case class ExprType(override val resultType: Type)
extends CachedProxyType with TermType with MethodicType {
override def underlying(implicit ctx: Context): Type = resultType