Skip to content

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

@nsajko

Description

@nsajko

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:

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or unintended behavior

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions