Skip to content

Skip stack trace continuation lines in compile diagnostic parser#184

Open
dwright wants to merge 1 commit intobscan:mainfrom
dwright:fix/stacktrace-lines-as-diagnostics
Open

Skip stack trace continuation lines in compile diagnostic parser#184
dwright wants to merge 1 commit intobscan:mainfrom
dwright:fix/stacktrace-lines-as-diagnostics

Conversation

@dwright
Copy link

@dwright dwright commented Feb 26, 2026

Perl's warning/error output includes indented stack trace lines (starting with a tab) when a warning or error has a call stack. Each of these lines matches the 'at line ' regex and was being parsed as a separate Syntax: diagnostic, causing a single warning to generate 10-30 false errors in the Problems panel.

Fix: skip any line beginning with a tab before attempting to parse it as a diagnostic. Stack trace lines always begin with a tab in Perl's output.

Perl's warning/error output includes indented stack trace lines (starting
with a tab) when a warning or error has a call stack. Each of these lines
matches the 'at <file> line <N>' regex and was being parsed as a separate
Syntax: diagnostic, causing a single warning to generate 10-30 false errors
in the Problems panel.

Fix: skip any line beginning with a tab before attempting to parse it as
a diagnostic. Stack trace lines always begin with a tab in Perl's output.
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.

1 participant