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

refactor(semantic): populate declarations field in SymbolTable::create_symbol #4461

Commits on Jul 26, 2024

  1. refactor(semantic): populate declarations field in `SymbolTable::cr…

    …eate_symbol` (#4461)
    
    `declarations` field of `SymbolTable` is part of SoA group, where all `Vec`s in the group are indexed by `SymbolId`. Populate `declarations` field along with the rest in `create_symbol`, to prevent them getting out of sync. This will prevent bugs like the one fixed in #4460.
    overlookmotel committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    f17254a View commit details
    Browse the repository at this point in the history