aiken-lang / aiken

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

Type-checker wrongly requires MillerLoopResult to be serializable #921

Closed KtorZ closed 5 months ago

KtorZ commented 5 months ago

What Git revision are you using?

1.0.25-alpha <--> 1.0.26-alpha

What operating system are you using, and which version?

Describe what the problem is?

See: https://github.com/aiken-lang/aiken/issues/907#issuecomment-2053567458

What should be the expected behavior?

In this example, there's no need for the MillerLoopResult to be serializable so it should type-check just fine.