Repository navigation
Skip hidden sources and report unexpected characters with locations - #83
Merged
Merged
Conversation
This file contains hidden or 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
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.
Building a project now skips dot-prefixed files and directories at the project root, inside modules, and in dependencies. AppleDouble companions such as
._main.plumand sources under.gitno longer enter compilation; explicitly named hidden source files still work.Unexpected-character diagnostics include the source path, line, column, and caret. Controls and non-ASCII characters use Unicode codes such as
U+0000; source-line controls render visibly so NUL cannot truncate the diagnostic. File-aware lexing also covers formatting and span extraction.Added CLI regressions for project/dependency discovery, explicit hidden files, and exact diagnostics for NUL, DEL, C1 controls, invisible Unicode, emoji, and printable punctuation, including UTF-8 column counting. Rebuilt
sh.real.Validation:
cross-checkreports five existing failures: four missing TLS-header checks and the i686 refusal assertion. Reproduced all five using the unchangedorigin/maincompiler.Self-review completed before submission: checked every source-discovery walker, diagnostic path propagation, Unicode/control rendering, explicit-input behavior, callers, and final diff.
Closes #58