Skip to content

Abstract/abstract annotation/decorator #364

@KotlinIsland

Description

@KotlinIsland

People use abc.abstractmethod for usages that have nothing to do with abc.ABC.

Also it can't be used on attributes.

@abstract
class A:
    a: Abstract[int]

class B(A): # error: make abstract or implement members
    ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions