Skip to content

Support final classes #1

@JukkaL

Description

@JukkaL

Support final class modifier that makes it impossible to inherit from a class. Also make built-in types Int, Str, etc. final. This removes the special status of the built-in types (currently they are the only classes you cannot inherit from).

Example:

final class Foo
  ...
end

class Bar is Foo    -- Error
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