Skip to content

Conversation

@timholy
Copy link
Member

@timholy timholy commented Nov 25, 2020

The def field of Core.MethodInstance is typed as
Union{Method,Module}. Consequently, we should not assume that it's
a Method.

Unfortunately I've not been able to come up with a simple test
that fails without this change, though I have seen failures
in real-world usage.

The `def` field of `Core.MethodInstance` is typed as
`Union{Method,Module}`. Consequently, we should not assume that it's
a `Method`.

Unfortunately I've not been able to come up with a simple test
that fails without this change, though I have seen failures
in real-world usage.
@timholy
Copy link
Member Author

timholy commented Nov 25, 2020

Let's see if this passes with #153 merged.

@timholy timholy closed this Nov 25, 2020
@timholy timholy reopened this Nov 25, 2020
@timholy timholy merged commit 6479359 into master Nov 25, 2020
@timholy timholy deleted the teh/deep branch November 25, 2020 16:01
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