import structs/ArrayList
main: func (arguments: ArrayList) {
while ( true ) {
"Oh, hi world =)" println()
}
compiles without a warning (notice the while closes at the end of the function!) and in this case does not have a problem. In a larger program with a function call inside the while a Seg fault follows the return.
This code :
compiles without a warning (notice the while closes at the end of the function!) and in this case does not have a problem. In a larger program with a function call inside the while a Seg fault follows the return.