Skip to content

reflection: use a real world for lookups#43695

Merged
aviatesk merged 3 commits intomasterfrom
jn/real-world-lookups
Jan 8, 2022
Merged

reflection: use a real world for lookups#43695
aviatesk merged 3 commits intomasterfrom
jn/real-world-lookups

Conversation

@vtjnash
Copy link
Copy Markdown
Member

@vtjnash vtjnash commented Jan 7, 2022

Using a fake world was a bit of a hack, but may give odd results sometimes.

Using a fake world was a bit of a hack, but may give odd results sometimes.
Copy link
Copy Markdown
Member

@aviatesk aviatesk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also would like to remove _methods_by_ftype(@nospecialize(t), mt::Union{Core.MethodTable, Nothing}, lim::Int, world::UInt, ambig::Bool, min::Array{UInt,1}, max::Array{UInt,1}, has_ambig::Array{Int32,1}) if this method isn't used anymore.

Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
@aviatesk aviatesk merged commit dacd16f into master Jan 8, 2022
@aviatesk aviatesk deleted the jn/real-world-lookups branch January 8, 2022 04:38
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
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.

4 participants