www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Internal error: ../ztc/cod2.c 4211

reply Ant <duitoolkit yahoo.ca> writes:
just got
Internal error: ../ztc/cod2.c 4211

linux dmd 0.131
Oct 01 2005
parent reply Ant <duitoolkit yahoo.ca> writes:
Ant wrote:
 just got
 Internal error: ../ztc/cod2.c 4211
 
 linux dmd 0.131
changing: codeEdit.insertText(insertPos, codeEdit.getCharAt(startComment+1)~" "); to: char c = codeEdit.getCharAt(startComment+1); codeEdit.insertText(insertPos, c~" "); made the error disapear
Oct 01 2005
parent reply "Walter Bright" <newshound digitalmars.com> writes:
"Ant" <duitoolkit yahoo.ca> wrote in message
news:dhlcvv$26ts$2 digitaldaemon.com...
 Ant wrote:
 just got
 Internal error: ../ztc/cod2.c 4211

 linux dmd 0.131
changing: codeEdit.insertText(insertPos, codeEdit.getCharAt(startComment+1)~" "); to: char c = codeEdit.getCharAt(startComment+1); codeEdit.insertText(insertPos, c~" "); made the error disapear
It would help a lot to have a reproducible small snippet of code?
Oct 01 2005
parent reply Ant <duitoolkit yahoo.ca> writes:
Walter Bright wrote:

 It would help a lot to have a reproducible small snippet of code?
I got Internal error: ../ztc/cgcs.c 353 (hope it's related to 4211) from: class CodeEdit { void insertText(int pos, char[] str) { } char getCharAt(int pos) { return 'c'; } } void main() { int insertPos = 1; int startComment = 2; CodeEdit codeEdit = new CodeEdit(); codeEdit.insertText(insertPos, codeEdit.getCharAt(startComment+1)~" "); }
Oct 02 2005
next sibling parent Ant <duitoolkit yahoo.ca> writes:
I meant 'on' not 'no'...

Ant wrote:
 Walter Bright wrote:
 
 It would help a lot to have a reproducible small snippet of code?
I got Internal error: ../ztc/cgcs.c 353 (hope it's related to 4211) from: class CodeEdit { void insertText(int pos, char[] str) { } char getCharAt(int pos) { return 'c'; } } void main() { int insertPos = 1; int startComment = 2; CodeEdit codeEdit = new CodeEdit(); codeEdit.insertText(insertPos, codeEdit.getCharAt(startComment+1)~" "); }
Oct 02 2005
prev sibling parent "Walter Bright" <newshound digitalmars.com> writes:
Thanks, I'll take care of it.
Oct 04 2005