Thread overview | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
October 01, 2005 Internal error: ../ztc/cod2.c 4211 | ||||
---|---|---|---|---|
| ||||
just got Internal error: ../ztc/cod2.c 4211 linux dmd 0.131 |
October 01, 2005 Re: Internal error: ../ztc/cod2.c 4211 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ant | 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 |
October 01, 2005 Re: Internal error: ../ztc/cod2.c 4211 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ant | "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? |
October 03, 2005 Re: Internal error: ../ztc/cod2.c 4211 now it's ztc353 no small example | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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)~" "); } |
October 03, 2005 Re: Internal error: ../ztc/cod2.c 4211 now it's ztc353 on small example | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ant | 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)~" ");
> }
|
Copyright © 1999-2021 by the D Language Foundation