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

Abstract constructors not represented in grammar #112

Open
ericlippert opened this issue Oct 9, 2017 · 0 comments
Open

Abstract constructors not represented in grammar #112

ericlippert opened this issue Oct 9, 2017 · 0 comments

Comments

@ericlippert
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant