Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let protocol force implemented classes to define constructor #99

Open
glassesneo opened this issue Apr 20, 2022 · 0 comments
Open

Let protocol force implemented classes to define constructor #99

glassesneo opened this issue Apr 20, 2022 · 0 comments
Assignees
Labels
Status: Available Waiting for working on it Type: Improve Improve features which are working

Comments

@glassesneo
Copy link
Owner

protocol Fruit:
  proc `new`(title: string, price: int)

class Apple:
  proc `new`(title: string, price: int) =
    discard
@glassesneo glassesneo added Type: Improve Improve features which are working Status: Available Waiting for working on it labels Apr 20, 2022
@glassesneo glassesneo added this to the Release 1.0.0 milestone Apr 20, 2022
@glassesneo glassesneo added this to To do in Todo on features via automation Apr 20, 2022
@glassesneo glassesneo self-assigned this Apr 20, 2022
@glassesneo glassesneo removed this from To do in Todo on features Jun 28, 2022
@glassesneo glassesneo removed this from the Release 1.0.0 milestone Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Available Waiting for working on it Type: Improve Improve features which are working
Projects
None yet
Development

No branches or pull requests

1 participant