| Thread overview | |||||
|---|---|---|---|---|---|
|
January 05, 2015 Bad error message example | ||||
|---|---|---|---|---|
| ||||
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 | ||||
January 05, 2015 Re: Bad error message example | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Benjamin Thaut | "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/ | |||
January 05, 2015 Re: Bad error message example | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Daniel Murphy | Am 05.01.2015 um 18:51 schrieb Daniel Murphy: > "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/ > Done: https://issues.dlang.org/show_bug.cgi?id=13942 | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply