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

Enable implemented class to call implemented procedures in protocol #121

Open
glassesneo opened this issue Oct 23, 2022 · 1 comment
Open
Assignees
Labels
Status: Inactive (Abandoned) For now, there is no plan to work on it Type: Improve Improve features which are working

Comments

@glassesneo
Copy link
Owner

glassesneo commented Oct 23, 2022

protocol SomeProtocol:
  proc implemented(x: int) =
    return x

class SomeClass impl SomeProtocol:
  discard

let some = SomeClass.new()

some.implemented(5)
@glassesneo glassesneo added the Status: Available Waiting for working on it label Oct 23, 2022
@glassesneo glassesneo added this to the Release 0.6.0 milestone Oct 23, 2022
@glassesneo glassesneo self-assigned this Oct 23, 2022
@glassesneo glassesneo changed the title Let implemented class use implemented procedures in protocol Let implemented-class use implemented procedures in protocol Oct 29, 2022
@glassesneo glassesneo changed the title Let implemented-class use implemented procedures in protocol Enable implemented class to call implemented procedures in protocol Mar 4, 2024
@glassesneo
Copy link
Owner Author

  • how to resolve the conflict between a protocol that has implemented procs and one that doesn't
  • whether a class can override implemented procs

@glassesneo glassesneo removed this from the Release 0.8.0 milestone Jun 29, 2024
@glassesneo glassesneo added Type: Improve Improve features which are working Status: Inactive (Abandoned) For now, there is no plan to work on it and removed Status: Available Waiting for working on it labels Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Inactive (Abandoned) For now, there is no plan to work on it Type: Improve Improve features which are working
Projects
None yet
Development

No branches or pull requests

1 participant