//calculate the nth fibonacci number, and print it var counter: int = 0; var first: int = 1; var second: int = 0; //BUG: This causes a stack overflow while (counter < 100_000) { var third: int = first + second; first = second; second = third; print third; ++counter; }