-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Labels
bugSomething not working correctlySomething not working correctlyparameterized modulesRelated to Cryptol's parameterized modulesRelated to Cryptol's parameterized modulestype-guards
Description
Investigate: There appear to be some issues related to evalType being called on constraints, which leads to `panic
Issue: when instantiating a functor that contains constraint guards, it is possible that some of the constraint guards become
impossible (e.g., if they depend on the parameter). This means that the types corresponding to the functions implementing them
would contain an impossible assumption, which is currently represented with Error, and evalType is not happy with that.
We know that such functions will not be called as they are only called if the guard is true (which it will not) but it looks like our evaluator
eagerly evalutes such types.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething not working correctlySomething not working correctlyparameterized modulesRelated to Cryptol's parameterized modulesRelated to Cryptol's parameterized modulestype-guards