about summary refs log tree commit diff stats
path: root/html/032array.cc.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-07-08 21:34:52 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-07-08 21:34:52 -0700
commit9e32e4736dc12479e3855e8d29ba7ecb6ac50ff6 (patch)
tree0fb382ddb830843b0993da27ff24900c59f18b60 /html/032array.cc.html
parent0f0be736fbe118612ad0b8f2bd84c2e7f4c35ade (diff)
downloadmu-9e32e4736dc12479e3855e8d29ba7ecb6ac50ff6.tar.gz
3963
Narrow the scope of implicit type conversions. Now only numbers can be
freely converted to from other scalars (booleans, characters). We want
in particular to make this an error:

  x:character <- new [abc]
Diffstat (limited to 'html/032array.cc.html')
-rw-r--r--html/032array.cc.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/032array.cc.html b/html/032array.cc.html
index abe96768..a75e343b 100644
--- a/html/032array.cc.html
+++ b/html/032array.cc.html
@@ -164,7 +164,7 @@ if ('onhashchange' in window) {
 <span id="L99" class="LineNr"> 99 </span>]
 <span id="L100" class="LineNr">100 </span><span class="traceContains">+app: foo: 3 14 15 16</span>
 <span id="L101" class="LineNr">101 </span>
-<span id="L102" class="LineNr">102 </span><span class="Delimiter">:(before &quot;End <a href='021check_instruction.cc.html#L100'>types_coercible</a> Special-cases&quot;)</span>
+<span id="L102" class="LineNr">102 </span><span class="Delimiter">:(before &quot;End <a href='021check_instruction.cc.html#L108'>types_coercible</a> Special-cases&quot;)</span>
 <span id="L103" class="LineNr">103 </span><span class="Normal">if</span> <span class="Delimiter">(</span>is_mu_array<span class="Delimiter">(</span>from<span class="Delimiter">)</span> &amp;&amp; is_mu_array<span class="Delimiter">(</span>to<span class="Delimiter">))</span>
 <span id="L104" class="LineNr">104 </span>  <span class="Identifier">return</span> types_strictly_match<span class="Delimiter">(</span><a href='032array.cc.html#L382'>array_element</a><span class="Delimiter">(</span>from<span class="Delimiter">.</span>type<span class="Delimiter">),</span> <a href='032array.cc.html#L382'>array_element</a><span class="Delimiter">(</span>to<span class="Delimiter">.</span>type<span class="Delimiter">));</span>
 <span id="L105" class="LineNr">105 </span>