You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Description**
The package `copilot-core` contains a comment that ends in double
period, which is just a typo. Similar errors are present in
`copilot-language` and `copilot-theorem`.
**Type**
- Bug: Typo in documentation.
**Additional context**
None.
**Requester**
- Ivan Perez.
**Method to check presence of bug**
The errors can be located with:
```
$ grep -nHre '--.*[^\.,0-9 ]\.\.' copilot**/src
copilot-core/src/Copilot/Core/Spec.hs:16:-- representations for Specs and the main types of element in a spec..
copilot-language/src/Copilot/Language/Operators/Projection.hs:26:-- of type t carried in a stream of type d..
copilot-theorem/src/Copilot/Theorem/Misc/SExpr.hs:34:-- additional expressions or arguments..
```
The following Dockerfile reports as errors any double periods at the end
of a sentence where the sequence is not part of an ellipsis or range
definition, printing the word "Success" if none are found:
```
FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install --yes git
SHELL ["/bin/bash", "-c"]
CMD git clone $REPO \
&& cd $NAME \
&& git checkout $COMMIT \
&& ! grep -nHre '--.*[^\.,0-9 ]\.\.' copilot**/src \
&& echo Success
```
**Expected result**
Running the dockerfile above prints the message "Success", indicating
that there is no comment that ends with double period that is not part
of an ellipsis or enumeration.
**Solution implemented**
Remove the double period from the comments listed above.
**Further notes**
None.
0 commit comments