[Bug 113] Internal compiler problem on shared argument of final interface method: in toElem, at d/d-elem.cc:2521
gdc-bugzilla at gdcproject.org
gdc-bugzilla at gdcproject.org
Thu Apr 17 00:01:25 PDT 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=113
--- Comment #6 from Iain Buclaw <ibuclaw at gdcproject.org> ---
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
{
---
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140417/9b4b356e/attachment.html>
More information about the D.gnu
mailing list