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

ast: replace NYI by explanatory comment #2787

Conversation

michaellilltokiwa
Copy link
Member

[ci skip]

@michaellilltokiwa
Copy link
Member Author

Btw. I'm not sure the explained reason is the only reason why outerrefs are needed for abstract features.

src/dev/flang/ast/AbstractFeature.java Outdated Show resolved Hide resolved
@fridis
Copy link
Member

fridis commented Mar 25, 2024

Btw. I'm not sure the explained reason is the only reason why outerrefs are needed for abstract features.

I think it probably is. When I added the NYI-comment, I could not think of any reason at all. Outer refs can only be used by code in a routine or its precondition, or by code in any child. There is no way to inherit from an abstract and there is no code in an abstract, so the precondition is what remains.

Co-authored-by: Max Teufel <max@teufelsnetz.com>
@maxteufel maxteufel merged commit cd0fb1b into tokiwa-software:main Mar 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants