-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
function: include marks when returning early with an unknown value
If a function parameter does not AllowUnknown, the function Call method returns early with the appropriate unknown value. However, it was missing any possible marks that were known from the given arguments. We'll delay the early return slightly, so that all argument marks can be collected and applied to the unknown return value.
- Loading branch information
Showing
2 changed files
with
174 additions
and
10 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