aboutsummaryrefslogtreecommitdiff
path: root/api/dotty/tools/dotc/typer/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'api/dotty/tools/dotc/typer/index.html')
-rw-r--r--api/dotty/tools/dotc/typer/index.html16
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 ~~&gt; 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 ~~&gt; foo.selectDynamic(bar).update(baz, quux)
+foo.bar = baz ~~&gt; foo.updateDynamic(&quot;bar&quot;)(baz)
+foo.bar(x = bazX, y = bazY, baz, ...) ~~&gt; foo.applyDynamicNamed(&quot;bar&quot;)((&quot;x&quot;, bazX), (&quot;y&quot;, bazY), (&quot;&quot;, baz), ...)
+foo.bar(baz0, baz1, ...) ~~&gt; foo.applyDynamic(bar)(baz0, baz1, ...)
+foo.bar ~~&gt; foo.selectDynamic(bar)</li>
+</ol>
+<p>The first matching rule of is appli...</p>
+<ol></ol>
</div>
</div><!-- end member -->