-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sem: correctly type empty containers in macro calls (#1361)
## Summary Internal-only issue. Empty container values passed to `static` macro/ template parameters used empty container types. Now they're converted to the formal parameter's type. ## Details * wrap the arguments to `static` macro/template parameters in implicit conversions, if needed for the match * use post-match argument fitting for macro calls * for a smaller impact, template calls still don't use post-match argument fitting * remove the `vmserialize` workaround for empty set types (which no longer reach there now)
- Loading branch information
Showing
3 changed files
with
27 additions
and
11 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