Skip to content

Gigasecond exercise cannot load/ignore stub file #664

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

Closed
Bajger opened this issue Apr 17, 2025 · 0 comments · Fixed by #665
Closed

Gigasecond exercise cannot load/ignore stub file #664

Bajger opened this issue Apr 17, 2025 · 0 comments · Fixed by #665
Assignees
Labels
bug Something isn't working exercise This issue concerns an exercise x:knowledge/intermediate Quite a bit of Exercism knowledge required

Comments

@Bajger
Copy link
Member

Bajger commented Apr 17, 2025

When fetching new exercise Gigasecond in Pharo, there is a problem loading stub solution file:

Image

Reason:
This is probably injection, since stub solution file is no longer empty file, but contains some samples in comments. Pharo parser is rather strict and expects to parse type, which is not there (only comments are there).

Actual
Parser parsing stub file containing just comments fails.

Expected behavior
Parsing via Tonel reader should ignore file containing just comments and skip it.

@Bajger Bajger self-assigned this Apr 17, 2025
@Bajger Bajger added bug Something isn't working exercise This issue concerns an exercise x:knowledge/intermediate Quite a bit of Exercism knowledge required labels Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exercise This issue concerns an exercise x:knowledge/intermediate Quite a bit of Exercism knowledge required
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant