Skip to content

Trying to subtype a function does not throw an error #17162

@dpsanders

Description

@dpsanders

The following came up in a discussion with @davidagold, trying to subtype a function. MyFuncs is completely ignored, even when it hasn't yet been defined:

11:36 $ julia-dev
               [banner here]

julia> function f() <: MyFuncs
             end
f (generic function with 1 method)

Metadata

Metadata

Assignees

No one assigned

    Labels

    parserLanguage parsing and surface syntax

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions