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
{{ message }}
Repository navigation
[Bug]: terminal compiler diagnostics with bare filenames have no file link #37070
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Open a project's terminal in T3 Code on Linux.
Create main.c containing int main(void) { return missing; } in the project root.
Run gcc main.c.
Ctrl+click main.c:1:25 in the compiler diagnostic.
Compare with compiling gcc ./main.c, whose diagnostic location is clickable.
Expected behavior
The diagnostic opens main.c at line 1, column 25, as the equivalent ./main.c diagnostic does. TypeScript's bare main.ts(42,7): error TS... locations should also retain their position.
Actual behavior
The bare filename has no terminal file link. No editor opens. Unquoted paths containing a separator and quoted filenames work.
Impact
Minor bug or occasional failure. Deterministic for current-directory compiler filenames; users must navigate manually or adjust how they invoke the compiler.
Version or commit
pingdotgg/main at 71adeef080d1a6ee03ddd8fc7493ea5928afed89.
Environment
Linux, Chromium, web client. Desktop uses the same terminal parser. gcc 15.2.0 output independently confirmed by Claude Opus 5.5 during the Terminal Improvement Bug Hunt.
Logs or stack traces
main.c:1:25: error: 'missing' undeclared (first use in this function)
The focused parser reproduction returns [] for that line; the equivalent ./main.c:1:25 control succeeds. The real web terminal scenario fails on base because no editor launch occurs, and passes with the accompanying fix, recording the expected --goto <project>/main.c:1:25 arguments.
Workaround
Invoke the compiler with ./main.c, or navigate to the source file manually.
Activity