Open peterohanley opened 2 months ago
I think the ideal way to resolve this would be to eliminate the distinction between spec
and trusted
- see #467
Agreed, we should fix the CN frontend so the syntax for spec
includes all the features that specifications on defined functions support.
As commented on #467, trusted
and spec
have a different purpose, so we should keep both.
In particular
accesses
does not work buttrusted
also does not.Looking at the grammar in the documentation, it looks like a declaration spec should refer to
function_spec
rather than hardcode only requires and ensures.