<html>
<head>
<base href="http://bugzilla.gdcproject.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Internal compiler problem on shared argument of final interface method: in toElem, at d/d-elem.cc:2521"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=113#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Internal compiler problem on shared argument of final interface method: in toElem, at d/d-elem.cc:2521"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=113">bug 113</a>
from <span class="vcard"><a class="email" href="mailto:ibuclaw@gdcproject.org" title="Iain Buclaw <ibuclaw@gdcproject.org>"> <span class="fn">Iain Buclaw</span></a>
</span></b>
<pre>Looks like the front-end didn't properly fix the AssociativeArray() abstraction
in 2.064, and the back-end is still being given junk AA types where structs are
expected.
This should be probably fixed in 2.065 or 2.066 IIRC with Daniel's fixes that
remove AssociativeArray entirely from the compiler and switches AA struct
template implementation over to UFCS.
In the call:
pool.execTransaction(...)
Got:
param_4 => AssociativeArray(null) of type string[string];
Expected:
I suspect changing this line would fix also:
module db.pool;
---
InputRange!(immutable Bson) execTransaction(string[] commands
, string[] params = [], uint[] argnums = []
- , string[string] vars = AssociativeArray!(string, string)()) shared
+ , string[string] vars = null) shared
in
{
---</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>