Open marsella opened 2 hours ago
Right now, properties do not compile with a numeric constraint guard. The example:
f : {n} [n] -> Bit property f _ | n == 1 => True | n != 1 => False
produces the following error:
Parse error at [...] unexpected: |
The same function compiles if you remove the property annotation. It would be useful to use numeric constraint guards in properties.
property
Oh oops. This is a duplicate of #1595.
Right now, properties do not compile with a numeric constraint guard. The example:
produces the following error:
The same function compiles if you remove the
property
annotation. It would be useful to use numeric constraint guards in properties.