Page 1 of 1
Until loop that crashes POL
Posted: Sun May 29, 2011 5:48 am
by Naglfar
Hello,
I can't post do a Bugs section, can I?
There's code that crashes my POL098.1-2009-06-24:
I think ECompile shouldn't allow to compile this.
Re: Until loop that crashes POL
Posted: Sun May 29, 2011 3:59 pm
by Yukiko
I suspect that a debugger would be the type of program to find something like you posted. eCompile looks for syntax and grammatical errors during a compile but cannot account for bad logic or poor programming style. But you do make a good point that it would be nice to have some kind of analytical tool that would help in discovering those types of situations.
Re: Until loop that crashes POL
Posted: Sun May 29, 2011 8:26 pm
by CWO
That is kinda weird though... eCompile I think SHOULD catch this one only because this in my opinion seems to be an "out of scope" error... somewhat similar to...
Code: Select all
if (true)
var a := 1;
endif
if (a)
Re: Until loop that crashes POL
Posted: Mon May 30, 2011 4:37 am
by Naglfar
CWO wrote:eCompile I think SHOULD catch this one only because this in my opinion seems to be an "out of scope" error
That's my point.