-
Notifications
You must be signed in to change notification settings - Fork 41
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
Providing experiment annotation always override base class StartTime #3450
Comments
Note that inheritance of experiment is part of #2535 and has not yet been merged. I agree that it should be possible to inherit a modified StartTime, but I don't think the consequences are like that. I view experiment as similar to a parameter record in the class, and modifiers as modifiers - not as record constructors. If we include the parameter record we see the similarity:
It may be that we should change it to |
Sorry, I forgot that #2535 isn't merged yet. Anyway, I think we have identified an important ambiguity regarding the meaning of annotations defined by pseudo-code records. Better than |
That is the idea in #3448 except that it is explained in the annotation-chapter; instead of at the start (and then linked) - to hopefully make it slightly easier to find, and having a less overwhelming start of the specification. I hope that PR will close this issue. |
As far I understand #3448 will resolve this. |
Yes, this is also my understanding; the important part is the clarification that annotations shall be seen as modifications, not record construction with defaults. |
This is a follow-up to #2999, since I'm not happy with my conclusion about the consequences in #2985 (comment).
The problem is this part of the synopsis of
experiment
:because it means it is not possible to inherit
StartTime
from a base class.In order to properly support inheritance of experiment options, I think we have to move the default value for
StartTime
out of the synopsis, and instead describe it in the semantics part.The text was updated successfully, but these errors were encountered: