You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not exactly sure why we had been rounding here before. Topdown truncates
when formatting a decimal number as int:
format_int(15.9, 16) == "f"
format_int(-15.9, 16) == "-f"
Fixesopen-policy-agent#2923.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
I'm not exactly sure why we had been rounding here before. Topdown truncates
when formatting a decimal number as int:
format_int(15.9, 16) == "f"
format_int(-15.9, 16) == "-f"
Fixes#2923.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
There are a handful of test cases which fail with an unexpected error when evaluated with the Wasm SDK
This includes the following test cases:
"strings/format_int" --> test/cases/testdata/strings/test-strings-0877.yaml
"strings/format_int: ref dest" --> test/cases/testdata/strings/test-strings-0879.yaml
"strings/format_int: ref dest (2)" -->test/cases/testdata/strings/test-strings-0880.yaml
"strings/format_int: undefined" --> test/cases/testdata/strings/test-strings-0878.yaml
The text was updated successfully, but these errors were encountered: