oxc/crates/oxc_semantic/src
Don Isaac 2e01a45b2b
fix(semantic): non-exported namespace member symbols flagged as exported (#4493)
> Part of #4445

Fixes a bug where non-exported functions and variables inside of
exported TS namespaces were being flagged with `SymbolFlags::Export`

```ts
export namespace Foo {
  // incorrectly flagged as exported
  function foo() { }
}
```
2024-07-27 08:46:21 +08:00
..
checker refactor(semantic): shorten code (#4358) 2024-07-19 10:29:27 +00:00
class perf: replace some CompactStr usages with Cows (#4377) 2024-07-20 19:19:55 +00:00
jsdoc refactor(semantic): tweak comment argument type (#4157) 2024-07-10 07:19:24 +00:00
module_record fix(semantic): export default foo should have ExportLocalName::Default(NameSpan) entry (#3823) 2024-06-22 11:09:23 +00:00
binder.rs fix(semantic): incorrect symbol’s scope_id after var hoisting (#4458) 2024-07-25 21:12:26 +08:00
builder.rs fix(semantic): non-exported namespace member symbols flagged as exported (#4493) 2024-07-27 08:46:21 +08:00
counter.rs perf(semantic): calculate number of nodes, scopes, symbols, references before visiting AST (#4367) 2024-07-22 10:47:54 +00:00
diagnostics.rs refactor(linter): improve diagnostic labeling (#3960) 2024-06-29 05:19:22 +00:00
dot.rs fix(ast)!: rename all instances of BigintLiteral to BigIntLiteral. (#3898) 2024-06-25 14:39:42 +00:00
label.rs refactor(semantic): checking label in ContinueStatement based on LabelBuilder (#2202) 2024-01-29 18:24:42 +08:00
lib.rs perf(semantic): remove span field from Reference (#4464) 2024-07-26 00:14:38 +00:00
node.rs perf(semantic): calculate number of nodes, scopes, symbols, references before visiting AST (#4367) 2024-07-22 10:47:54 +00:00
reference.rs perf(semantic): remove span field from Reference (#4464) 2024-07-26 00:14:38 +00:00
scope.rs refactor(syntax): give ScopeId a niche (#4468) 2024-07-26 00:14:50 +00:00
symbol.rs refactor(semantic): methods take Span as param, not &Span (#4470) 2024-07-26 00:14:56 +00:00
unresolved_stack.rs perf(semantic): use Atom instead of CompactStr for UnresolvedReferencesStack (#4401) 2024-07-22 12:18:37 +00:00