-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opt: add volatility info for Unknown to Tuple cast
Casts from Unknown to any type are allowed as a special case, but we had no cast defined from Unknown to Tuple (leading to an assertion error). This change adds this missing information. I checked that now all type families define a cast from Unknown. Fixes #50258. Release note (bug fix): fix recently introduced "no volatility for cast unknown::tuple" error.
- Loading branch information
1 parent
cbac99f
commit 2b7cab1
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters