diff options
author | Ondrej Lhotak <olhotak@uwaterloo.ca> | 2015-01-14 17:38:47 +0100 |
---|---|---|
committer | Ondrej Lhotak <olhotak@uwaterloo.ca> | 2015-01-14 20:15:39 +0100 |
commit | 1815894b8569ca2b9fad4b4e2c23125946b8df10 (patch) | |
tree | cd05356f123d96c04dc48f497e555a5098b6cc65 /src | |
parent | 01e19323ee602136b47800c5c4b4105299e573b2 (diff) | |
download | dotty-1815894b8569ca2b9fad4b4e2c23125946b8df10.tar.gz dotty-1815894b8569ca2b9fad4b4e2c23125946b8df10.tar.bz2 dotty-1815894b8569ca2b9fad4b4e2c23125946b8df10.zip |
add comment for ExprType
Diffstat (limited to 'src')
-rw-r--r-- | src/dotty/tools/dotc/core/Types.scala | 1 |
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 |