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 · 0 comments
Open
Assignees
Labels
Status: Available Waiting for working on it
Milestone

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
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
Projects
None yet
Development

No branches or pull requests

1 participant