Fix TC allowing bad schemas in bind, with-read, with-capability#1212
Fix TC allowing bad schemas in bind, with-read, with-capability#1212sirlensalot merged 2 commits intomasterfrom
Conversation
jwiegley
left a comment
There was a problem hiding this comment.
Looks great to me, I'll kick off a replay now.
This only affects static typechecker so no replay is necessary |
|
Thanks, @sirlensalot, that should have been obvious to me. |
emilypi
left a comment
There was a problem hiding this comment.
LGTM thanks @sirlensalot 👍
imalsogreg
left a comment
There was a problem hiding this comment.
Great catch! fyi I've verified that my return-types PR now passes tests when rebased on this. (although that's not surprising, because PR-1212 fixes the Pact code that didn't typecheck before).
Replay doesn't need to be involved for PR-1212, but are there any other backward compat issues we need to think about? (e.g. a customer that runs TC and accidentally relied on the previous lax TC behavior?)
In general breaking repl-only compat is ok, and static TC + FV are even more so as they're supposed to be about correctness first. Finally since this goes with the runtime TC fork that certainly trumps repl compat. |
No description provided.