cx
cx copied to clipboard
Compiler Error: Can't use infinite loop
@canhdoan commented on Jul 26
Describe the bug Can't execute an infinite loop with true value as the link
To Reproduce See the test source
package main
func main() {
for true {
printf("looping!!!")
}
}
Desktop (please complete the following information):
- OS: Kali Linux
- CX Version 0.7.0
@arfan499 Can you create unit test for this.
Put a break condition in "for true""
for true { if i > 3: break }