digitalmars.D - Bad error message example
- Benjamin Thaut (16/16) Jan 05 2015 Today I had a bad template error message and I though I might post it
- Daniel Murphy (2/4) Jan 05 2015 Please report in bugzilla: http://d.puremagic.com/issues/
- Benjamin Thaut (2/6) Jan 05 2015 Done: https://issues.dlang.org/show_bug.cgi?id=13942
Today I had a bad template error message and I though I might post it here so something can be done about it, the error message was: /usr/include/dlang/dmd/std/conv.d(278): Error: template instance isRawStaticArray!() does not match template declaration isRawStaticArray(T, A...) I was not using isRawStaticArray anywhere in my code. And the error was generally not helpfull at all and yes that was all of it. So after staring at my source file for 10 minutes I finally found the line that caused the error: s.amount = to!double(); I accidentally deleted the contents between the two parentheses. It would be great if dmd would give a more meaningfull error message in this case. Why are the "instanciated from" messages sometimes given and sometimes not? Kind Regards Benjamin Thaut
Jan 05 2015
"Benjamin Thaut" wrote in message news:m8eian$21nu$1 digitalmars.com...Today I had a bad template error message and I though I might post it here so something can be done about it, the error message was:Please report in bugzilla: http://d.puremagic.com/issues/
Jan 05 2015
Am 05.01.2015 um 18:51 schrieb Daniel Murphy:"Benjamin Thaut" wrote in message news:m8eian$21nu$1 digitalmars.com...Done: https://issues.dlang.org/show_bug.cgi?id=13942Today I had a bad template error message and I though I might post it here so something can be done about it, the error message was:Please report in bugzilla: http://d.puremagic.com/issues/
Jan 05 2015