-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviormodulestypes and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch
Milestone
Description
Not sure if this is intended:
julia> UUID
ERROR: UndefVarError: UUID not defined
julia> using Random: UUID
julia> UUID(x::String) = UUID(rand(UInt128)) # OK?
UUID
julia> UUID("foo")
8c68d00a-33d1-777d-c4a1-0a41759d1581
julia> using Base: getindex
julia> struct Foo end
julia> getindex(::Foo) = print("Hello")
ERROR: error in method definition: function Base.getindex must be explicitly imported to be extended
nickrobinson251, LilithHafner and DilumAluthge
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviormodulestypes and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch