conversion bug where converting to float imposed overflow checking which should not be there and causes this program to error out. This was seen originally in Javascript, but it turns out Python has the same bug. Lua does not have this bug. Other generators have not been tested. This test also tests the rename feature. The Javascript generator was not renaming the variable correctly.
4 lines
88 B
JavaScript
4 lines
88 B
JavaScript
|
|
var my_infinity = infinity.INFINTY;
|
|
var ret_val = infinity.use_infinity(my_infinity);
|
|
|