We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while diffing these two files, doesn't matter which order I try to diff them.
function MyComponent() { return ( <div> hello {' '} </div> ) }
function MyComponent() { return ( <div> hello </div> ) }
Stack trace:
thread 'main' panicked at src/display/hunks.rs:517:17: internal error: entered unreachable code: Should be impossible: every LHS Unchanged MatchedPos should have a corresponding RHS Unchanged MatchedPos None Some(MatchedPos { kind: UnchangedToken { highlight: Delimiter, self_pos: [SingleLineSpan { line: LineNumber: 7 (zero-indexed: 6), start_col: 0, end_col: 1 }], opposite_pos: [SingleLineSpan { line: LineNumber: 7 (zero-indexed: 6), start_col: 0, end_col: 1 }] }, pos: SingleLineSpan { line: LineNumber: 7 (zero-indexed: 6), start_col: 0, end_col: 1 } }) stack backtrace: 0: 0x1043c5440 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h2260af3a60e707d0 1: 0x10423a788 - core::fmt::write::h40c2acd4666eb4d3 2: 0x1043d1b9c - std::io::Write::write_fmt::h41d6e98dca6ecc3d 3: 0x1043c5300 - std::sys::backtrace::BacktraceLock::print::h6927682eb47cb165 4: 0x1043bc84c - std::panicking::default_hook::{{closure}}::h3800acb1d5aa9da8 5: 0x1043bc6f4 - std::panicking::default_hook::hdb07ba29d8151fe7 6: 0x1043bce44 - std::panicking::rust_panic_with_hook::h3a42c361c08813d5 7: 0x1043c5e70 - std::panicking::begin_panic_handler::{{closure}}::h483101861bc4cead 8: 0x1043c567c - std::sys::backtrace::__rust_end_short_backtrace::he99aa938f9475e2a 9: 0x1043bc8dc - _rust_begin_unwind 10: 0x104afa878 - core::panicking::panic_fmt::h5a90ea35d2c8d236 11: 0x1042571bc - difft::display::hunks::matched_pos_to_hunks::he238e1d80833a2db 12: 0x104280cc8 - difft::diff_file_content::h5d91f870f5122248 13: 0x10427f1b0 - difft::diff_file::hdb2ec1671155d295 14: 0x10427e324 - difft::main::hcf402fba38dc0b84 15: 0x1042b8ac0 - std::sys::backtrace::__rust_begin_short_backtrace::hffeba46affa7e93f 16: 0x10429a1ac - std::rt::lang_start::{{closure}}::h3196f9eb4519e72f 17: 0x1043b4e4c - std::rt::lang_start_internal::hadea728b8c40134b 18: 0x104281c44 - _main
Tried with these versions,
❯ difft --version Difftastic 0.62.0 Toolchain: 1.83.0 System: macos aarch64
❯ /tmp/difftastic/target/release/difft --version Difftastic 0.63.0 Revision: 8fcfdae 2025-01-21 Toolchain: 1.74.1 System: macos aarch64
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error while diffing these two files, doesn't matter which order I try to diff them.
Stack trace:
Tried with these versions,
The text was updated successfully, but these errors were encountered: