Resolve how to handle coercions and the like under default binding modes #44848
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
One of the tricky questions that came up when implementing default binding modes is how to handle the compiler's current logic around patterns with
ref
bindings. Currently, if a ref-binding is included, this disables coercion forlet
statements and tweaks how we handlematch
statements. It's unclear precisely what we ought to do now thatref
bindings are not always syntactically visible. This issue exists to track the question.There has already been a number of conversations on the topic. Here are some links for background reading:
DerefPure
as wellThe text was updated successfully, but these errors were encountered: