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

linter: no_obj_calls stackover #4389

Closed
Boshen opened this issue Jul 21, 2024 · 0 comments · Fixed by #4397
Closed

linter: no_obj_calls stackover #4389

Boshen opened this issue Jul 21, 2024 · 0 comments · Fixed by #4397
Assignees
Labels
A-linter Area - Linter C-bug Category - Bug

Comments

@Boshen
Copy link
Member

Boshen commented Jul 21, 2024

From #4212

This has a semantic error, but should not panic nevertheless.

export const getConfig = getConfig;
getConfig();
cargo run -p oxlint -- -A all -D no-obj-calls test.ts
thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow

Git blamed to a year ago, thank you @DonIsaac for being part of us for more than a year.

@Boshen Boshen added the C-bug Category - Bug label Jul 21, 2024
@DonIsaac DonIsaac added the A-linter Area - Linter label Jul 21, 2024
DonIsaac added a commit that referenced this issue Jul 21, 2024
Boshen pushed a commit that referenced this issue Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter C-bug Category - Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants