mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
Add support for import foo.Bar.Baz
This commit is contained in:
parent
a16d26b5c0
commit
0df54f478f
10 changed files with 433 additions and 617 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue