Skip to content

Few panics when checking and fixing specific files #4212

@qarmin

Description

@qarmin

Command

"oxlint" "-D" "all" "-D" "nursery" "TEST___FILE.js" "--fix"

some of problems are visible on debug builds

Files - Untitled Folder.zip

Example of problems

thread '<unnamed>' panicked at crates/oxc_span/src/span.rs:102:9:
attempt to subtract with overflow
thread '<unnamed>' panicked at crates/oxc_linter/src/utils/tree_shaking.rs:424:41:
attempt to shift right with overflow
thread '<unnamed>' panicked at crates/oxc_linter/src/utils/tree_shaking.rs:450:41:
attempt to shift left with overflow
thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow

Edit:
Out of memory - compressed.zip
Not a char boundary - compressed.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory - Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions