Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use === for comparison to nothing and Symbols #33764

Merged
merged 1 commit into from
Nov 5, 2019
Merged

Conversation

JeffBezanson
Copy link
Member

This is helpful to the compiler, since e.g. DataValue(nothing) == nothing is true.
Also in Pkg: JuliaLang/Pkg.jl#1486

@JeffBezanson JeffBezanson merged commit 3608c84 into master Nov 5, 2019
@JeffBezanson JeffBezanson deleted the jb/tripleequal branch November 5, 2019 22:38
@KristofferC KristofferC mentioned this pull request Nov 7, 2019
19 tasks
@KristofferC
Copy link
Member

KristofferC commented Nov 7, 2019

@JeffBezanson Did you use a script for this? In that case, could you run it on the backport branch (#33630) as well?

@JeffBezanson
Copy link
Member Author

Mostly sed.

JeffBezanson added a commit that referenced this pull request Nov 7, 2019
JeffBezanson added a commit that referenced this pull request Nov 8, 2019
jmert added a commit to jmert/BitFlags.jl that referenced this pull request Apr 17, 2020
Duplicates the improvement made to Base's Enums: JuliaLang/julia#33764
vchuravy pushed a commit to JuliaLang/Distributed.jl that referenced this pull request Oct 6, 2023
vchuravy pushed a commit to JuliaLang/Test.jl that referenced this pull request Oct 7, 2023
Keno pushed a commit that referenced this pull request Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants