D - Compiler bug
- MicroWizard (19/19) Jul 26 2002 Compiling this prog I got the following message (DMD alpha 0.35)
- Pavel Minayev (3/6) Jul 26 2002 It works fine for me! (the same version)
- MicroWizard (22/24) Jul 27 2002 Pavel, you're right. I've posted the wrong version :-(
- Pavel Minayev (3/8) Jul 27 2002 Property settors/gettors are simply not implemented yet.
- MicroWizard (2/10) Jul 29 2002 Ok. It is clear. But the bug exists :-)
Compiling this prog I got the following message (DMD alpha 0.35) Internal error: e2ir.c 1703 ------------------------------------ import c.stdio; class Tag{ char[] name; public: this(char[] n) { name=n; }; char[] GetName() {return(name);}; } void main(char[][] arg) { Tag k=new Tag('Document'); // printf("%.*s\n",k.GetName()); //correct printf("%.*s\n",k.GetName()); //Internal error: e2ir.c 1703 }
Jul 26 2002
On Fri, 26 Jul 2002 16:16:58 +0000 (UTC) MicroWizard <MicroWizard_member pathlink.com> wrote:Compiling this prog I got the following message (DMD alpha 0.35) Internal error: e2ir.c 1703It works fine for me! (the same version)
Jul 26 2002
Pavel, you're right. I've posted the wrong version :-( Just left out the "()" at the end of last line as shown (now correctly) below and the compiler crashes. I checked the spec and it should work as the former line. (gettor member function) TamasCompiling this prog I got the following message (DMD alpha 0.35) Internal error: e2ir.c 1703------------------------------------ import c.stdio; class Tag{ char[] name; public: this(char[] n) { name=n; }; char[] GetName() {return(name);}; } void main(char[][] arg) { Tag k=new Tag('Document'); // printf("%.*s\n",k.GetName()); //correct printf("%.*s\n",k.GetName); //Internal error: e2ir.c 1703 }
Jul 27 2002
On Sat, 27 Jul 2002 21:47:05 +0000 (UTC) MicroWizard <MicroWizard_member pathlink.com> wrote:Pavel, you're right. I've posted the wrong version :-( Just left out the "()" at the end of last line as shown (now correctly) below and the compiler crashes. I checked the spec and it should work as the former line. (gettor member function)Property settors/gettors are simply not implemented yet.
Jul 27 2002
In article <CFN374651002181597 news.digitalmars.com>, Pavel Minayev says...On Sat, 27 Jul 2002 21:47:05 +0000 (UTC) MicroWizard <MicroWizard_member pathlink.com> wrote:Ok. It is clear. But the bug exists :-)Pavel, you're right. I've posted the wrong version :-( Just left out the "()" at the end of last line as shown (now correctly) below and the compiler crashes. I checked the spec and it should work as the former line. (gettor member function)Property settors/gettors are simply not implemented yet.
Jul 29 2002