Currently, the start compiler uses appends "_base" or "_offset" to a variable in the IR to indicate how to interpret it. E.g.,
- x#8 resolves to *(FP+8)
- x_base#8 resolves to 8
This is ambiguous if the variable actually ends in "_base". E.g., the following code runs incorrectly in Start.
import 'stdio.dart';
void main() {
int int_base;
int_base = 10;
WriteLong(int_base);
WriteLine();
}
Currently, the start compiler uses appends "_base" or "_offset" to a variable in the IR to indicate how to interpret it. E.g.,
This is ambiguous if the variable actually ends in "_base". E.g., the following code runs incorrectly in Start.
import 'stdio.dart';
void main() {
int int_base;
int_base = 10;
WriteLong(int_base);
WriteLine();
}