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

a lack of invalidation for some cases of constant redefinition? #57515

Open
nsajko opened this issue Feb 24, 2025 · 0 comments
Open

a lack of invalidation for some cases of constant redefinition? #57515

nsajko opened this issue Feb 24, 2025 · 0 comments
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@nsajko
Copy link
Contributor

nsajko commented Feb 24, 2025

These two both throw in show:

abstract type AbstractType end
foo(x::AbstractType) = x
const AbstractType = 1
methods(foo)
abstract type AbstractType end
struct Bar <: AbstractType end
const AbstractType = 1
supertype(Bar)

cc @Keno

Pointed out on Discourse by Benny:

@nsajko nsajko added the bug Indicates an unexpected problem or unintended behavior label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant