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

fix(semantic): params in export default (function() {}) flagged as SymbolFlags::Export #4480

Commits on Jul 27, 2024

  1. fix(semantic): params in export default (function() {}) flagged as …

    …`SymbolFlags::Export` (#4480)
    
    The code changes in `builder.rs` optimize the export flag check in the `SemanticBuilder` implementation. Instead of setting the export flag to `true` for all cases except `ExportDefaultDeclarationKind::ClassDeclaration(ref class)`, the flag is now set to `true` only for `ExportDefaultDeclarationKind::ClassDeclaration` and `false` for all other cases. This change improves the efficiency of the export flag check.
    Dunqing committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    40cafb8 View commit details
    Browse the repository at this point in the history