Closed mitchmindtree closed 1 month ago
Updated syntax that exposes this:
enum Animal = Cat | Dog;
type Person = {
age: int,
pet: Animal,
};
predicate Foo {
var bob = {
age: 42,
pet: Animal::Cat,
};
constraint bob.pet != Animal::Dog;
}
While working on #630, I ran into an error in my simple test contract and noticed that it still occurred without any dependencies.
Here's the pint contract I'm compiling using
master
version ofpintc
:And here's the error: