digitalmars.D.bugs - compiler crash
- David Medlock (9/11) Aug 31 2005 class Foo
- Derek Parnell (12/24) Aug 31 2005 On my Windows XP Pro it didn't crash the compiler. I got the error messa...
- David Medlock (4/33) Aug 31 2005 Just whitespace.
class Foo { char[][int] lookup; this() { lookup.length = 100; } } ---------- Capture Output ----------"C:\dmd\bin\dmd.exe" -debug -c "E:\proj\d\test\sample.d"E:\proj\d\test\sample.d(7): this.lookup.length is not an lvalueTerminated with exit code -1073741819.Windows XP Pro. -DavidM
Aug 31 2005
On Wed, 31 Aug 2005 09:27:45 -0400, David Medlock wrote:class Foo { char[][int] lookup; this() { lookup.length = 100; } } ---------- Capture Output ---------- > "C:\dmd\bin\dmd.exe" -debug -c "E:\proj\d\test\sample.d" E:\proj\d\test\sample.d(7): this.lookup.length is not an lvalue > Terminated with exit code -1073741819. Windows XP Pro.On my Windows XP Pro it didn't crash the compiler. I got the error message but the compiler didn't crash. Using DMD v0.129 f:\temp>dmd -c -debug test.d test.d(4): this.lookup.length is not an lvalue f:\temp> As I got the message on line 4 and you on line 7, I guess there other code in your test that you haven't shown us. -- Derek Parnell Melbourne, Australia 31/08/2005 11:34:10 PM
Aug 31 2005
Derek Parnell wrote:On Wed, 31 Aug 2005 09:27:45 -0400, David Medlock wrote:Yes, I see now my work machine still has DMD 0.128 on it!class Foo { char[][int] lookup; this() { lookup.length = 100; } } ---------- Capture Output ----------On my Windows XP Pro it didn't crash the compiler. I got the error message but the compiler didn't crash. Using DMD v0.129 f:\temp>dmd -c -debug test.d test.d(4): this.lookup.length is not an lvalue f:\temp>"C:\dmd\bin\dmd.exe" -debug -c "E:\proj\d\test\sample.d"E:\proj\d\test\sample.d(7): this.lookup.length is not an lvalueTerminated with exit code -1073741819.Windows XP Pro.As I got the message on line 4 and you on line 7, I guess there other code in your test that you haven't shown us.Just whitespace. -DavidM
Aug 31 2005