Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Abstract constructors not represented in grammar #112

Description

@ericlippert

The grammar of constructors allows abstract constructors. Already this is a little weird and we should consider what it means to have an abstract constructor. Are constructors invoked with virtual dispatch? If not, then what does it even mean to have an abstract ctor?

If we do want to have abstract constructors then the grammar needs to allow a semi as an empty body.

Activity

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

Metadata

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