unison
unison copied to clipboard
Verify that kinds are the same when propagating type edits
Right now when you add a type replacement to a patch, during propagation, we don't verify that the kinds of the old and new type are the same. This can lead to ill-kinded type declarations and then terms that depend on those ill-kinded declarations can't typecheck (or maybe they can still typecheck, but they can't actually be called).
Anyway, I thought we were being overly conservative previously and refusing to do any type propagation, but it turns out we just had bug in the constructor mapping: #2254
Idea to increase certainty of this: reduce scope of the issue to a timeboxed investigation of possible fix
Depends on #567