Add support for import foo.Bar.Baz

This commit is contained in:
Richard Feldman 2025-10-21 18:58:46 -04:00
parent a16d26b5c0
commit 0df54f478f
No known key found for this signature in database
10 changed files with 433 additions and 617 deletions

View file

@ -822,6 +822,9 @@ pub const Statement = union(enum) {
qualifier_tok: ?Token.Idx,
alias_tok: ?Token.Idx,
exposes: ExposedItem.Span,
/// True when importing like `import json.Parser.Config` where Config is auto-exposed
/// but Parser should not become an alias (unlike `import json.Parser exposing [Config]`)
suppress_alias: bool,
region: TokenizedRegion,
},
type_decl: struct {