KtorZ 4f7f39292d Fix subtle bug in pattern rendering
When rendering missing or redundant patterns, linked-list would
  wrongly suggest the last nil constructor as a pattern on non-empty
  list.

  For example, before this commit, the exhaustivness checker would yield:

  ```
  [(_, True), []]
  ```

  as a suggestion, for being the result of being a list pattern with a
  single argument being `(_, True) :: Nil`. Blindly following the
  compiler suggestion here would cause a type unification error (since
  `[]` doesn't unify with a 2-tuple).

  Indeed, we mustn't render the Nil constructor when rendering non-empty
  lists! So the correct suggestion should be:

  ```
  [(_, True)]
  ```
2023-08-02 10:31:35 +02:00
2023-02-07 13:16:17 +01:00
2023-07-04 17:19:28 -04:00
2023-07-04 08:33:15 -04:00
2023-07-27 10:23:10 -04:00
2023-05-23 10:40:26 -04:00
2023-07-18 19:28:07 -04:00

Aiken Aiken

A modern smart contract platform for Cardano

Licence Crates.io Tests


Installation

How to use

For more information please see the user manual.

Contributing

Want to contribute? See CONTRIBUTING.md to know how.


Note

The name comes from Howard Aiken, an American physicist and a pioneer in computing.

Stats

Alt

Description
No description provided
Readme 14 MiB
Languages
Rust 96.6%
JavaScript 1.1%
HTML 1%
CSS 0.9%
Shell 0.3%
Other 0.1%