-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fix hintProcessing
dots interference with static:echo
and hintCC
; add tests for nim secret
, add tests for hintProcessing, misc other bug fixes
#16495
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timotheecour
changed the title
fix dots interfering with static:echo, add tests for
fix Dec 28, 2020
nim secret
, add tests for hintProcessinghintProcessing
dots interfering with static:echo, add tests for nim secret
, add tests for hintProcessing
timotheecour
changed the title
fix
fix Dec 29, 2020
hintProcessing
dots interfering with static:echo, add tests for nim secret
, add tests for hintProcessinghintProcessing
dots interfering with static:echo, hintCC; add tests for nim secret
, add tests for hintProcessing, other hint fixes
timotheecour
changed the title
fix
fix Dec 29, 2020
hintProcessing
dots interfering with static:echo, hintCC; add tests for nim secret
, add tests for hintProcessing, other hint fixeshintProcessing
dots interference with static:echo
and hintCC
; add tests for nim secret
, add tests for hintProcessing, misc other bug fixes
…th linenoise and rdstdin
timotheecour
force-pushed
the
pr_fix_dot_static_echo
branch
from
December 29, 2020 09:15
0e07ebf
to
d341b85
Compare
ringabout
reviewed
Dec 29, 2020
I'm sorry for the dots in Nim's output. Should we remove them again? |
the feature is good as a default (most bugs have been fixed by now), but in future I'd like the following:
I often find this useful when debugging |
This was referenced Dec 30, 2020
mildred
pushed a commit
to mildred/Nim
that referenced
this pull request
Jan 11, 2021
…`; add tests for `nim secret`, add tests for hintProcessing, misc other bug fixes (nim-lang#16495) * fix dots interfering with static:echo * add tests * fix hintProcessing dots for hintCC * improve trunner tests * fix bug: readLineFromStdin now writes prompt to stdout, consistent with linenoise and rdstdin * disable a failing test for windows
This was referenced Jan 13, 2021
ardek66
pushed a commit
to ardek66/Nim
that referenced
this pull request
Mar 26, 2021
…`; add tests for `nim secret`, add tests for hintProcessing, misc other bug fixes (nim-lang#16495) * fix dots interfering with static:echo * add tests * fix hintProcessing dots for hintCC * improve trunner tests * fix bug: readLineFromStdin now writes prompt to stdout, consistent with linenoise and rdstdin * disable a failing test for windows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
nim secret
dots interfering with prompt #16491 (comment)hintProcessing
dots interfering withstatic: echo
the logic in PR now also works with
--stdout
(see tests)fix
hintProcessing
dots interfering with hintCC (CC: ....)add basic tests for
nim secret
refs minor improvement for nim secret #16478 (comment)adds tests for
hintProcessing
in particular the fact that dots (after this PR) don't interfere with for examplestatic: echo
make trunner warning free
--hint:processing
is now overridable, like other hints (eg --hint:link:off ... --hint:linkwould end up with
--hint:link`; this is useful when assembling cmdlines, in fact i hit this bug while writing a test in trunner)fix bug:
readLineFromStdin
fallback now writes prompt to stdout, consistent with linenoise and rdstdinfuture work
nim r --hint:processing -f --eval:"static: echo 1+1”
now works without dot interference when running in cmd.exe, but still fails if shelling out viaexecCmdEx
(refs hintProcessing dot interference issue on windows ringabout/Nim#15 problem 4)