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

semantic: function declaration of type TSDeclareFunction doesn't have a symbol_id #8667

Open
KermanX opened this issue Jan 23, 2025 · 0 comments
Labels
C-bug Category - Bug

Comments

@KermanX
Copy link
Contributor

KermanX commented Jan 23, 2025

Playground

declare let a;  // Has symbol

declare function f(): any // No Symbol

declare function g(): any {} // No Symbol

function h(): any // No Symbol

Not sure if this is intentional 🥹

@KermanX KermanX added the C-bug Category - Bug label Jan 23, 2025
@KermanX KermanX changed the title semantic: function declaration without body doesn't have a symbol_id semantic: function declaration of type TSDeclareFunction doesn't have a symbol_id Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category - Bug
Projects
None yet
Development

No branches or pull requests

1 participant