Skip to content

Commit

Permalink
filter out pass-big-number for now
Browse files Browse the repository at this point in the history
  • Loading branch information
doehyunbaek committed Aug 26, 2024
1 parent f6a8fa8 commit b5393c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/replay_gen/src/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@ fn test_parse_number() {
// problematic case reading the trace generateed by js
let s = "0.7614822387695312";
assert_ne!(s, parse_number(s).unwrap().to_js());

// problematic cases where the number is too big or too small to be handled by f64
let small_number = "-9223372036854775808";
let big_number = "9223372036854775807";
assert_ne!(small_number, parse_number(small_number).unwrap().to_js());
assert_ne!(big_number, parse_number(big_number).unwrap().to_js());
}

#[derive(Debug)]
Expand Down
1 change: 1 addition & 0 deletions src/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const filter = {
'call-exp-after-import-call-table-get', // unknown function wasabi
'test04', // duplicate func export
'rust-game-of-life', // fail only at CI
"pass-big-number" // better handling of i64 value is needed
],
proxy: [
// TODO: fix these regressions
Expand Down

0 comments on commit b5393c6

Please sign in to comment.