[BUG] Infinite loop when performing operations on parameters
Calamity210 opened this issue · comments
Aayan commented
Performing operations on function parameters causes the program to get stuck within an infinite loop
Steps to reproduce the behavior:
- Launch birb shell with the
birb
command - Type
void addAndPrint(int a, int b) {
screm(a+b);
}
addAndPrint(5, 7);
- Run program with
runBirb()
command - See error
The program should be printing 12
Starts the loop within visitFuncCall (runtime.dart)