[Gambas-user] Issue 187 in gambas: Interpreter stuck in an infinite loop

gambas at ...2524... gambas at ...2524...
Tue Jan 10 17:53:27 CET 2012


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 187 by emil.len... at ...626...: Interpreter stuck in an infinite  
loop
http://code.google.com/p/gambas/issues/detail?id=187

1) Describe the problem.
It is easy to make the interpreter stuck in an infinite loop.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: 3.0

3) Provide a little project that reproduces the bug or the crash.
Sub no_retval()
End

Public Sub Main()
   Print no_retval() = no_retval()
End


5) Explain clearly how to reproduce the bug or the crash.
Run some code like the one above. Many operators results in the same bug.  
The expected result is that the interpreter throws an error saying "no  
return value" or something similar. Instead, it gets stuck in an infinite  
loop when it wants to find out what types the operands are of.





More information about the User mailing list