-
-
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.
modify Base.Test not to create a closure for each test
- Loading branch information
1 parent
0318444
commit 6396218
Showing
2 changed files
with
60 additions
and
37 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
6396218
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @JeffBezanson,
I'm curious, why is it necessary to specify this as a
Char
array, isn't it implied byChar + Int % Int = Char
?See JuliaLang/Compat.jl#162 (comment)
6396218
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It shouldn't be necessary; it's a temporary workaround until we can fully free comprehensions from dependence on type inference.
6396218
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But did the test work previously? Is this an inference regression? See #14883 which might be related.
(A few words in the commit message would avoid the need for this kind of discussion.)
6396218
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change is that inference is now deciding not to run on this code.