Skip to content

Types defined even when an error happens #5009

Closed
@nalimilan

Description

This is what I just got when writing bool instead of Bool:

julia> type DataValue
           value
           isna::bool
        end
ERROR: type: DataValue: in type definition, expected Type{T<:Top}, got Function

julia> type DataValue
           value
           isna::Bool
        end
ERROR: invalid redefinition of constant DataValue

So it looks like after an incorrect definition you end up with an incomplete type or something...

(Yes, newcomers are terrible testers, every stupid thing will be tried! ;-)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions