History
|
Log In
H
OME
B
ROWSE PROJECT
F
IND ISSUES
Q
UICK SEARCH:
Learn more about
Quick Search
Issue Details
(
XML
|
Word
|
Printable
)
Key:
BOO-301
Type:
Bug
Status:
Closed
Resolution:
Fixed
Priority:
Critical
Assignee:
Rodrigo B. de Oliveira
Reporter:
Edwin de Jonge
Votes:
0
Watchers:
0
Operations
If you were
logged in
you would be able to see more operations.
Boo
Infinite loop when breaking in a while loop after a nested for loop
Created:
22/Apr/05 05:06 PM
Updated:
23/May/05 08:59 AM
Component/s:
Emitter
,
Compiler
Affects Version/s:
0.5
Fix Version/s:
0.7
Time Tracking:
Not Specified
Description
« Hide
The following Boo code generates an infinite loop. Leaving the for loop works fine.
while true:
for i in range(2):
pass
break
Description
The following Boo code generates an infinite loop. Leaving the for loop works fine. while true: for i in range(2): pass break
Show »
All
Comments
Work Log
Change History
Sort Order:
[
Permlink
|
« Hide
]
Edwin de Jonge
-
22/Apr/05 05:08 PM
I lost my tabs in my example, so here with explicit tabbing (\t == tab)
while true:
\tfor i in range(2):
\t\tpass
\tbreak
[
Show »
]
Edwin de Jonge
-
22/Apr/05 05:08 PM
I lost my tabs in my example, so here with explicit tabbing (\t == tab) while true: \tfor i in range(2): \t\tpass \tbreak
[
Permlink
|
« Hide
]
Rodrigo B. de Oliveira
-
22/Apr/05 08:15 PM
wow, that was nasty. thanks for the report!
[
Show »
]
Rodrigo B. de Oliveira
-
22/Apr/05 08:15 PM
wow, that was nasty. thanks for the report!
while true:
\tfor i in range(2):
\t\tpass
\tbreak