digitalmars.D - Can i plz has some template instantiation error stack traces?
- Bill Baxter (2/2) Dec 12 2008 kthx bye.
- Nick Sabalausky (3/5) Dec 12 2008 I think we need a lolcat pic to go along with this. :)
- Bill Baxter (14/19) Dec 12 2008 Seriously though, I think this is a big hole in the DMD support of templ...
- Ary Borenszweig (3/5) Dec 12 2008 You can debug DMD's frontend. Or Descent. :-P
- Robert Fraser (2/4) Dec 12 2008 LDC can haz.
- Bill Baxter (6/11) Dec 12 2008 orly?
- Christian Kamm (10/17) Dec 12 2008 Can haz now. Currently looking like so
- Bill Baxter (5/22) Dec 13 2008 Looks great.
- Christian Kamm (3/5) Dec 13 2008 I sent it directly to Walter a few months ago, but I'll also attach it t...
- Bill Baxter (4/9) Dec 13 2008 Excellent! Thanks. Here's hoping Walter applies the patch.
"Bill Baxter" <wbaxter gmail.com> wrote in message news:mailman.162.1229113882.22690.digitalmars-d puremagic.com...kthx bye. --bbI think we need a lolcat pic to go along with this. :)
Dec 12 2008
Seriously though, I think this is a big hole in the DMD support of templates. It's very annoying to get a compiler message that consists of nothing but: " error: ATemplateFunction: int does not have a .length property" Where ATemplateFunction is something like void ATemplateFunction(ArrayT)(ArrayT x) { auto n = x.length; .... } Great so I know somewhere in my source code I called ATemplateFunction with the wrong kind of argument. The compiler knows where it was that I made the call, but it just doesn't care to enlighten me. Very frustrating. --bb On Sat, Dec 13, 2008 at 7:07 AM, Nick Sabalausky <a a.a> wrote:"Bill Baxter" <wbaxter gmail.com> wrote in message news:mailman.162.1229113882.22690.digitalmars-d puremagic.com...kthx bye. --bbI think we need a lolcat pic to go along with this. :)
Dec 12 2008
Bill Baxter escribió:kthx bye. --bbYou can debug DMD's frontend. Or Descent. :-P (and find bugs in the port, yay!)
Dec 12 2008
Bill Baxter wrote:kthx bye. --bbLDC can haz.
Dec 12 2008
On Sat, Dec 13, 2008 at 12:44 PM, Robert Fraser <fraserofthenight gmail.com> wrote:Bill Baxter wrote:orly? As in haz them now? or can potentially haz at some point in the future if someone decides to do it? --bbkthx bye. --bbLDC can haz.
Dec 12 2008
Can haz now. Currently looking like so templerror.d(9): Error: identifier 'wrong' is not defined templerror.d(12): Error: template instance templerror.bar!(int[][][]) error instantiating instantiatied in templerror.d(12): bar!(int[][]) instantiatied in templerror.d(3): bar!(int[]) instantiatied in templerror.d(16): foo!(int) and triggered by errors and static asserts. We had a brief slide about them in our Tango Conference talk. I hope it'll be up eventually... :)LDC can haz.orly? As in haz them now? or can potentially haz at some point in the future if someone decides to do it?
Dec 12 2008
On Sat, Dec 13, 2008 at 4:53 PM, Christian Kamm <kamm-incasoftware removethis.de> wrote:Looks great. Is there a DMD patch for that somewhere in bugzilla? --bbCan haz now. Currently looking like so templerror.d(9): Error: identifier 'wrong' is not defined templerror.d(12): Error: template instance templerror.bar!(int[][][]) error instantiating instantiatied in templerror.d(12): bar!(int[][]) instantiatied in templerror.d(3): bar!(int[]) instantiatied in templerror.d(16): foo!(int) and triggered by errors and static asserts. We had a brief slide about them in our Tango Conference talk. I hope it'll be up eventually... :)LDC can haz.orly? As in haz them now? or can potentially haz at some point in the future if someone decides to do it?
Dec 13 2008
Bill Baxter wrote:Looks great. Is there a DMD patch for that somewhere in bugzilla?I sent it directly to Walter a few months ago, but I'll also attach it to the enhancement request you just opened.
Dec 13 2008
On Sat, Dec 13, 2008 at 5:07 PM, Christian Kamm <kamm-incasoftware removethis.de> wrote:Bill Baxter wrote:Excellent! Thanks. Here's hoping Walter applies the patch. --bbLooks great. Is there a DMD patch for that somewhere in bugzilla?I sent it directly to Walter a few months ago, but I'll also attach it to the enhancement request you just opened.
Dec 13 2008