aiken/crates/aiken-lang
KtorZ 9b8137c056
Better trace parsing + default behaviour.
Somehow, we allow traces with no continuation after and currently
  default to a Todo. That todo is completely invisible from a user
  standpoint and return a generic `a`.

  So it is pretty easy for someone to think their program is okay,
  compiles, and have no issues, while simply crashing at runtime because
  of an invisible todo.

  Hence, I've changed that to default to `Void` instead, which is more
  sensible as a default for an empty trace.

  Also, I've made the parser fail with one puts a colon for label, but
  doesn't add any value to display.

  Fixes #1113.

Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-02 13:31:04 +01:00
..
src Better trace parsing + default behaviour. 2025-03-02 13:31:04 +01:00
Cargo.toml Version 1.1.13 2025-02-26 10:07:00 -05:00
build.rs Adjust module organization to facilitate resurrection of the playground. 2024-08-29 09:12:37 +02:00