kaleidawave / ezno

A fast and correct TypeScript type checker and compiler with additional experiments
https://kaleidawave.github.io/posts/introducing-ezno/
MIT License
2.55k stars 47 forks source link

Partial source fixes #190

Closed kaleidawave closed 3 months ago

kaleidawave commented 3 months ago
kaleidawave commented 3 months ago

Finding some useful issues! Thanks @jasikpark

thread '<unnamed>' panicked at /home/runner/work/ezno/ezno/checker/src/features/operations.rs:315:66:
called `Result::unwrap()` on an `Err` value: ()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
==3550== ERROR: libFuzzer: deadly signal
NOTE: libFuzzer has rudimentary signal handlers.
      Combine libFuzzer with AddressSanitizer or similar for better crash reports.
SUMMARY: libFuzzer: deadly signal
MS: 5 ShuffleBytes-InsertByte-ChangeBit-ChangeBinInt-PersAutoDict- DE: "Map"-; base unit: 2b7c63bc5683fba15a7fe71e68d81b68d7ac0d5f
0x4d,0x61,0x70,0x3c,0x35,0x35,0xb4,
Map<55\264
artifact_prefix='/home/runner/work/ezno/ezno/checker/fuzz/artifacts/check_project_naive/'; Test unit written to /home/runner/work/ezno/ezno/checker/fuzz/artifacts/check_project_naive/crash-c51c16d192276b1f6b393ab9801a0651ae97267c
Base64: TWFwPDU1tA==

────────────────────────────────────────────────────────────────────────────────

Failing input:

    artifacts/check_project_naive/crash-c51c16d192276b1f6b393ab9801a0651ae97267c

Output of `std::fmt::Debug`:

    "Map<55"

From https://github.com/kaleidawave/ezno/actions/runs/10468094080/job/28988257120?pr=190#step:8:2706