aiken-lang / aiken

A modern smart contract platform for Cardano
https://aiken-lang.org
Apache License 2.0
454 stars 84 forks source link

Compiler crashes if a generator fails #864

Closed Quantumplation closed 6 months ago

Quantumplation commented 6 months ago

What Git revision are you using?

main

What operating system are you using, and which version?

Describe what the problem is?

If any of the fuzzers fail or otherwise error, the compiler crashes completely

   aiken::fatal::error
   Whoops! You found a bug in the Aiken compiler.

   Please report this error at https://github.com/aiken-lang/aiken/issues/new.
   In your bug report please provide the information below and if possible the code
   that produced it.

   Operating System: linux
   Architecture:     x86_64
   Version:          v1.0.24-alpha+c51741c

   crates/aiken-project/src/test_framework.rs:428:18

       Fuzzer crashed?: EvaluationFailure

What should be the expected behavior?

Don't crash, show a helpful error message about what crashed