-
Notifications
You must be signed in to change notification settings - Fork 26
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
ogma-core
: Comment is inaccurate
#164
Labels
CR:Status:Closed
Admin only: Change request that has been completed
CR:Type:Bug
Admin only: Change request pertaining to error detected
Milestone
Comments
ivanperez-keera
added
CR:Status:Initiated
Admin only: Change request that has been initiated
CR:Type:Bug
Admin only: Change request pertaining to error detected
labels
Nov 21, 2024
Change Manager: Confirmed that the issue exists. |
ivanperez-keera
added
CR:Status:Confirmed
Admin only: Change request that has been acknowledged by the change manager
and removed
CR:Status:Initiated
Admin only: Change request that has been initiated
labels
Nov 21, 2024
Technical Lead: Confirmed that the issue should be addressed. |
ivanperez-keera
added
CR:Status:Accepted
Admin only: Change request accepted by technical lead
and removed
CR:Status:Confirmed
Admin only: Change request that has been acknowledged by the change manager
labels
Nov 21, 2024
Technical Lead: Issue scheduled for fixing in Ogma 1.5. Fix assigned to: @ivanperez-keera . |
ivanperez-keera
added
CR:Status:Scheduled
Admin only: Change requested scheduled
and removed
CR:Status:Accepted
Admin only: Change request accepted by technical lead
labels
Nov 21, 2024
ivanperez-keera
added
CR:Status:Implementation
Admin only: Change request that is currently being implemented
and removed
CR:Status:Scheduled
Admin only: Change requested scheduled
labels
Nov 21, 2024
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Nov 21, 2024
The Copilot spec generated by Ogma includes the following comment for a spec: -- | Complete specification. Calls the C function void handler(); when -- the property is violated. That comment is inaccurate, since the name of the function executed may not be handler. This commit fixes the comment to say that handlers are executed when properties are violated.
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Nov 21, 2024
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Nov 21, 2024
The Copilot spec generated by Ogma includes the following comment for a spec: -- | Complete specification. Calls the C function void handler(); when -- the property is violated. That comment is inaccurate, since the name of the function executed may not be handler. This commit fixes the comment to say that handlers are executed when properties are violated.
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Nov 21, 2024
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Nov 21, 2024
The Copilot specification generated by Ogma includes the following comment for the top-level `spec`: ``` -- | Complete specification. Calls the C function void handler(); when -- the property is violated. ``` The comment is inaccurate, since the name of the function executed may not be `handler`. This commit fixes the comment to say that "handlers are executed when properties are violated".
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Nov 21, 2024
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Nov 21, 2024
The Copilot specification generated by Ogma includes the following comment for the top-level `spec`: ``` -- | Complete specification. Calls the C function void handler(); when -- the property is violated. ``` The comment is inaccurate, since the name of the function executed may not be `handler`. This commit fixes the comment to say that *handlers* are executed when properties are violated.
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Nov 21, 2024
Implementor: Solution implemented, review requested. |
ivanperez-keera
added
CR:Status:Verification
Admin only: Change request that is currently being verified
and removed
CR:Status:Implementation
Admin only: Change request that is currently being implemented
labels
Nov 21, 2024
Change Manager: Verified that:
|
Change Manager: Implementation ready to be merged. |
ivanperez-keera
added
CR:Status:Closed
Admin only: Change request that has been completed
and removed
CR:Status:Verification
Admin only: Change request that is currently being verified
labels
Nov 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CR:Status:Closed
Admin only: Change request that has been completed
CR:Type:Bug
Admin only: Change request pertaining to error detected
Description
The Copilot spec generated by Ogma includes the following comment for a spec:
That comment is inaccurate, since the name of the function executed may not be
handler
.Type
Additional context
None.
Requester
Method to check presence of bug
Error is in a comment. Check by visual inspection of the Copilot code generated by Ogma.
Expected result
The comment in the code generated by Copilot states that handlers are executed, not that a specific function
handler();
is called.Desired result
The comment in the code generated by Copilot states that handlers are executed, not that a specific function
handler();
is called.Proposed solution
Modify comment in https://github.com/nasa/ogma/blob/develop/ogma-core/src/Language/Trans/Spec2Copilot.hs#L201 to state that handlers are executed upon property violations.
Further notes
None.
The text was updated successfully, but these errors were encountered: