Skip to content

Invalid exception type accepted #3

@JukkaL

Description

@JukkaL

Invalid exception type is not always flagged as an error by the interpreter. For example, the following code is accepted, even though A is not a subtype of Exception:

class A
end

try
except A
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions