Skip to content
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

Allow specifiying path to use for stdin error messages #24595

Merged
merged 6 commits into from
Apr 12, 2025

Conversation

ire4ever1190
Copy link
Contributor

Implements #24569

Adds --stdinfile flag for specifying the file to use in place of stdinfile.nim in error messages. Will enable easier integration of tooling with nim check

@ire4ever1190 ire4ever1190 marked this pull request as draft January 1, 2025 08:44
We leave in the `projectIsStdin` check since it can now point to an actual file
@ire4ever1190 ire4ever1190 marked this pull request as ready for review January 2, 2025 06:01
@Araq Araq merged commit 0cba752 into nim-lang:devel Apr 12, 2025
18 checks passed
Copy link
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 0cba752

Hint: mm: orc; opt: speed; options: -d:release
179251 lines; 8.723s; 652.707MiB peakmem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants