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

compiler: unify singleton_type and argtype_to_function #42342

Merged
merged 1 commit into from
Sep 23, 2021

Conversation

aviatesk
Copy link
Member

They seem to be supposed to do the same thing.
Previously singleton_type didn't handle the case where
isconstType(ft) -> ft.parameters[1], but I think it can just include it.

They seem to be supposed to do the same thing.
Previously `singleton_type` didn't handle the case where
`isconstType(ft) -> ft.parameters[1]`, but I think it can just include 
it.
@aviatesk aviatesk requested review from Keno and vtjnash September 22, 2021 08:48
@aviatesk aviatesk merged commit 5e8d7ed into master Sep 23, 2021
@aviatesk aviatesk deleted the avi/singletontype branch September 23, 2021 02:12
aviatesk added a commit to JuliaDebug/Cthulhu.jl that referenced this pull request Sep 23, 2021
`argtype_to_function` is factored with `singleton_type`.
aviatesk added a commit to aviatesk/JET.jl that referenced this pull request Sep 23, 2021
aviatesk added a commit to aviatesk/EscapeAnalysis.jl that referenced this pull request Sep 23, 2021
aviatesk added a commit to JuliaDebug/Cthulhu.jl that referenced this pull request Sep 23, 2021
`argtype_to_function` is factored with `singleton_type`.
KristofferC pushed a commit that referenced this pull request Sep 28, 2021
They are supposed to do the same thing.
Previously `singleton_type` didn't handle the case where
`isconstType(ft) -> ft.parameters[1]`, but it can just include that.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
…#42342)

They are supposed to do the same thing.
Previously `singleton_type` didn't handle the case where
`isconstType(ft) -> ft.parameters[1]`, but it can just include that.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
…#42342)

They are supposed to do the same thing.
Previously `singleton_type` didn't handle the case where
`isconstType(ft) -> ft.parameters[1]`, but it can just include that.
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.

2 participants