aiken/crates/aiken-project/src/snapshots
KtorZ 91e0e2493a
Provide better errors on unknown type in cyclic definitions.
Let's consider the following case:

  ```
  type Var =
    Integer

  type Vars =
    List<Var>
  ```

  This incorrectly reports an infinite cycle; due to the inability to
  properly type-check `Var` which is also a dependent var of `Vars`. Yet
  the real issue here being that `Integer` is an unknown type.

  This commit also upgrades miette to 7.2.0, so that we can also display
  a better error output when the problem is actually a cycle.
2024-08-06 19:24:48 +02:00
..
aiken_project__export__tests__basic_export.snap make sure traverse_uplc_with_helper is always passing the arg to lambda before running the with function. 2024-05-22 11:58:05 -04:00
aiken_project__export__tests__cannot_export_generics.snap Provide better errors on unknown type in cyclic definitions. 2024-08-06 19:24:48 +02:00
aiken_project__export__tests__illegal_opaque_type.snap Provide better errors on unknown type in cyclic definitions. 2024-08-06 19:24:48 +02:00
aiken_project__export__tests__recursive_types.snap make sure traverse_uplc_with_helper is always passing the arg to lambda before running the with function. 2024-05-22 11:58:05 -04:00