diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-09-09 15:16:35 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-09-17 18:07:16 +0200 |
commit | 1287f2dd2d0af03c215951b4264d1c627731cea8 (patch) | |
tree | 31b5155beb0ef858b38498d9e41792b939249e40 /src/dotty/tools/dotc/ast/Trees.scala | |
parent | fb8df8c7b22fd9ae8e8a9d555769c5b46bac4a5d (diff) | |
download | dotty-1287f2dd2d0af03c215951b4264d1c627731cea8.tar.gz dotty-1287f2dd2d0af03c215951b4264d1c627731cea8.tar.bz2 dotty-1287f2dd2d0af03c215951b4264d1c627731cea8.zip |
Unapply doc update
Diffstat (limited to 'src/dotty/tools/dotc/ast/Trees.scala')
-rw-r--r-- | src/dotty/tools/dotc/ast/Trees.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/ast/Trees.scala b/src/dotty/tools/dotc/ast/Trees.scala index d92d82b5e..3b90e101b 100644 --- a/src/dotty/tools/dotc/ast/Trees.scala +++ b/src/dotty/tools/dotc/ast/Trees.scala @@ -719,6 +719,7 @@ object Trees { * @param implicits Any implicit parameters passed to the unapply after the selector * @param patterns The argument patterns in the pattern match. * + * It is typed with same type as first `fun` argument * Given a match selector `sel` a pattern UnApply(fun, implicits, patterns) is roughly translated as follows * * val result = fun(sel)(implicits) |