-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't bail out of inference early if effects could still be refined (#…
…48263) We have an early out in inference that bails if the inferred return type of the method being called is `Any`. This makes sense in the absence of effects, because once the rt has hit `Any`, there is nothing new we can learn by looking at any subsequent calls. However, in the presence of effects, we likely want to keep going if we can prove all methods of the callsite `:foldable` as being `:foldable` can save significant inference time down the line if it enables concrete evaluation of the containing function.
- Loading branch information
Showing
3 changed files
with
12 additions
and
3 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