[Issue 10141] wrong error message with Tuple!(int) : Error: static assert "Cannot put a char[] into a Appender!(string)"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 13 12:41:28 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10141


Henning Pohl <henning at still-hidden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |henning at still-hidden.de
           Severity|normal                      |critical


--- Comment #4 from Henning Pohl <henning at still-hidden.de> 2013-07-13 12:41:26 PDT ---
A bit more reduced:

---
import std.typecons;

lets cause_an_error;

Tuple!int tf;
---

I have seen this bug hiding other erros, so only the "static assert 
"Cannot put a char[] into a Appender!(string)"" error and the instantiation
trace shows up. This becomes really really bad in big code bases. I've
experienced this multiple times.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list