diff options
author | dotty-bot <felix.mulder@epfl.ch> | 2017-02-02 14:19:33 +0000 |
---|---|---|
committer | dotty-bot <felix.mulder@epfl.ch> | 2017-02-02 14:19:33 +0000 |
commit | 7ec0d89df9692ae1ed2b9c52fcf9c137985f503b (patch) | |
tree | c5197b4cceb447f6eb1a6446bac95f566654c2af /api/dotty/tools/dotc/typer/index.html | |
parent | abb6c717277fb7eb8635d94c32ecab5dee4dd903 (diff) | |
download | dotty-7ec0d89df9692ae1ed2b9c52fcf9c137985f503b.tar.gz dotty-7ec0d89df9692ae1ed2b9c52fcf9c137985f503b.tar.bz2 dotty-7ec0d89df9692ae1ed2b9c52fcf9c137985f503b.zip |
Update gh-pages site for d9b6f18569deda5aa2860156bef8dc2abcce3708
Diffstat (limited to 'api/dotty/tools/dotc/typer/index.html')
-rw-r--r-- | api/dotty/tools/dotc/typer/index.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/api/dotty/tools/dotc/typer/index.html b/api/dotty/tools/dotc/typer/index.html index f5dc8c2d1..9272cf8dd 100644 --- a/api/dotty/tools/dotc/typer/index.html +++ b/api/dotty/tools/dotc/typer/index.html @@ -5566,10 +5566,18 @@ </div><!-- end member-title --> <div class="member-body"> - <p>Translates selection that does not typecheck according to the scala.Dynamic rules: -foo.bar(baz) = quux ~~> foo.selectDynamic(bar).upd... -</p> -<p></p> + <p>Handles programmable member selections of <code>Dynamic</code> instances and values +with structural types. Two functionalities:</p> +<ol> +<li>Translates selection that does not typecheck according to the scala.Dynamic rules: +foo.bar(baz) = quux ~~> foo.selectDynamic(bar).update(baz, quux) +foo.bar = baz ~~> foo.updateDynamic("bar")(baz) +foo.bar(x = bazX, y = bazY, baz, ...) ~~> foo.applyDynamicNamed("bar")(("x", bazX), ("y", bazY), ("", baz), ...) +foo.bar(baz0, baz1, ...) ~~> foo.applyDynamic(bar)(baz0, baz1, ...) +foo.bar ~~> foo.selectDynamic(bar)</li> +</ol> +<p>The first matching rule of is appli...</p> +<ol></ol> </div> </div><!-- end member --> |