Open sdthompson1 opened 1 month ago
Tyargs in patterns are currently parsed but ignored, e.g.
case Just<i32>(x) => ...
This could be misleading in case x isn't actually i32.
Perhaps we should just forbid tyargs in that situation for now.
Maybe "uninterpreted" ghost functions (as in ghost f(): i32;
with no body) should be allowed to have preconditions? (They are not allowed to have postconditions, on the grounds that this could introduce inconsistency, but I don't think there would be any problem with preconditions.)
Placeholder